
標(biāo)題: [求助] 直接訪問文件名可以訪問,訪問域名就Forbidden [打印本頁]
作者: share888 時間: 2014-8-24 13:49 標(biāo)題: 直接訪問文件名可以訪問,訪問域名就Forbidden
我首頁的文件叫test.php沒有添加默認主頁。直接訪問 域名/test.php可以訪問。但是訪問 域名就提示。
理論上找不到頁面不應(yīng)該是提示無權(quán)限啊?
ForbiddenYou don't have permission to access / on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
作者: zgxjj 時間: 2014-8-27 16:55
要設(shè)置默認首頁才行,不然就是301,它默認設(shè)置的只有index.html
歡迎光臨 WDlinux官方論壇 (http://www.szkyjg.com/bbs/) |
Powered by Discuz! 7.2 |