apache 403错误 You don't have permission to access on this server
来源:互联网 发布:ug8.5编程教学视频 编辑:程序博客网 时间:2024/06/05 09:58
apache 403错误 You don't have permission to access on this server.
在配置好了Apache服务器后,测试已经通过了,但是通过浏览器访问localhost时,出现403错误提示,
Forbidden
You don't have permission to access / on this server
请教出现这个问题的原因是什么呢?如何解决?
这是由于你更改了你的DocumentRoot,而更改了这个默认值后,下面还有一个值是要随着更改的。就在它下面不远的地方,有这样一段:
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "\Your_New_DocumentRoot\">
中括号里的内容就是你更改的新值。这样就不会出现403错误了。
<Directory "/var/www/html1/">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
-----------------------------------------------
http://hi.baidu.com/vking/blog/item/bc50f3d380296adfa9ec9af4.html
apache昨天调试了一下午,都没有解决这个问题,到今天上午,仔细检查了一遍配置文件httpd.conf,找到这么一段:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
deny from all
Satisfy all
</Directory>
然后试着把deny from all中的deny改成了allow,保存后重起了apache,然后再一测试我的网页,哈哈!居然问题就出在这,访问测试网站完全正常了。
- 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错误 You don’t have permission to access on this server.
- 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错误 You don't have permission to access on this server.
- apache 403错误 显示如下: You don't have permission to access / on this server. 解决办法
- apache 之 you don't have permission to access / on this server linux 下 错误解决方法
- apache 之 you don't have permission to access / on this server linux 下 错误解决方法
- 局域网访问Apache PHP错误:Forbidden You don't have permission to access / on this server.
- apache 之 you don't have permission to access / on this server linux 下 错误解决方法
- apache 之 you don't have permission to access / on this server linux 下 错误解决方法
- apache 403异常 You don't have permission to access on this server
- Apache 403 Forbidden:You don't have permission to access / on this server.
- You don't have permission to access / on this server
- You don't have permission to access /*** on this server
- You don't have permission to access / on this server.
- You don't have permission to access on this server.
- 独立思考Justic:Hired Guns
- 学习-SQL查询连续号码段的巧妙解法
- log4j详细配置
- 设计模式使用心得
- Berkeley 中两种数据入库(通过文件形式存储)方式
- apache 403错误 You don't have permission to access on this server
- Windows Phone 7 应用开发环境设置,Hello World!
- c++经典笔试题
- 在OpenSSL中添加自定义加密算法
- ARM板子启动有问题,不一定要用jtag
- CodeDocs 网聚技术文档
- 堆和栈的区别
- 【分享】对吞吐量、点击率、带宽大小等基础单位知识的总结
- 2011福州retour