apache 更改DocumentRoot出现无权查看网页的解决办法
<Directory />Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
将这里的 Deny from all
修改为 Allow from all
另外,确定
<IfModule dir_module>
DirectoryIndex index.html index.shtml index.cgi index.php index.phtml index.php3
</IfModule>
你的项目中存在 所列出的默认访问文件中的一个
页:
[1]