apache 403错误 You don't have permission to access on this server
2011-11-18 16:09
46 查看
在网站的域名后直接输入了一个 目录后 浏览提示我 You don't have permission to access on this server 这是目录权限的问题
在apache的配置文件里 conf/httpd.conf 里找到
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot E:/web/zdz/trunk
ServerName www.domain.com
<Directory "E:/web/zdz/trunk">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
首先要检查 目录是否正确,
然后在 Options 后面加了一个 Indexes
改成
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot E:/web/zdz/trunk
ServerName www.domain.com
<Directory "E:/web/zdz/trunk">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
就 OK 了
在apache的配置文件里 conf/httpd.conf 里找到
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot E:/web/zdz/trunk
ServerName www.domain.com
<Directory "E:/web/zdz/trunk">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
首先要检查 目录是否正确,
然后在 Options 后面加了一个 Indexes
改成
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot E:/web/zdz/trunk
ServerName www.domain.com
<Directory "E:/web/zdz/trunk">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
就 OK 了
相关文章推荐
- 【问题】apache目录403错误
- CentOS Apache 500 / 403错误及IP无法访问解决方法
- apache 403错误 You don’t have permission to access on this server.
- [备忘][转载]apache 403错误 You don't have permission to access on this server
- apache 403错误 Forbidden解决方法
- apache 报错 Access forbidden! 403错误的解决方法
- apache 403错误 You don't have permission to access on this server
- centos下Apache403错误
- 改apache的默认目录配置文件httpd.conf,apache 403错误的解决办法 【转】
- 关于apache伪静态URL配置RewriteEngine on出现403错误(转)
- Apache 在更改DocumentRoot,或新增虚拟目录之后出现403错误的解决方法汇总详解(Linux)
- Apache-win2003环境下 403错误解决一例
- Apache2.4 虚拟目录的配置的403错误
- apache 403错误 You don't have permission to access on this server
- 彻底地/ 终于地, 解决 关于apache 权限的问题了:: 修改 DocumentRoot后的 403错误: have no permission to access / on this server
- apache配置php后访问localhost出现403错误
- apache documentroot指向htcdoc之外提示403错误的解决方案
- apache 403错误 You don't have permission to access on this server.
- ubuntu apache 403错误