鍍金池/ 問答/PHP  Python  數(shù)據(jù)庫  網(wǎng)絡(luò)安全/ 使用 htaccess 將副檔名隱藏,但假設(shè)被猜到副檔名,可否報(bào)錯(cuò)誤找不到網(wǎng)頁?

使用 htaccess 將副檔名隱藏,但假設(shè)被猜到副檔名,可否報(bào)錯(cuò)誤找不到網(wǎng)頁?

我用 htaccess 將我的網(wǎng)站副檔名都遮蔽了

RewriteRule ^xxx$ xxx.php

只是假設(shè)有人無聊打 .php 是否可以使其找不到網(wǎng)頁?

回答
編輯回答
殘淚

Allow Deny語句了解一下

2018年7月24日 21:22