WDlinux官方论坛's Archiver

share888 发表于 2014-8-24 13:49

直接访问文件名可以访问,访问域名就Forbidden

我首页的文件叫test.php没有添加默认主页。直接访问   域名/test.php可以访问。但是访问 域名就提示。

理论上找不到页面不应该是提示无权限啊?

Forbidden[p=30, 2, left]You don't have permission to access / on this server.[/p][p=30, 2, left]Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.[/p]

zgxjj 发表于 2014-8-27 16:55

要设置默认首页才行,不然就是301,它默认设置的只有index.html

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.