apache2.4 AH01630: client denied by server configuration错误
来源:互联网 发布:java api 连接hdfs 编辑:程序博客网 时间:2024/06/05 11:29
apache 2.4.x与2.2.x版本很多配置信息的写法不同,如果2.4.x版本按2.2.x版本的写法书写,则会出现标题中的错误;
apache-2.2.x配置虚拟机的大致写法如下:
<span style="color: rgb(68, 68, 68); font-family: 'Times New Roman'; font-size: 14px; line-height: 26px;">NameVirtualHost 192.168.10.81:80</span>
<VirtualHost 192.168.10.81:80>ServerAdmin rocdk890@gmail.comdirectoryIndex index.html index.php index.htm index.shtml login.phpServerName 192.168.10.81DocumentRoot /var/www/vhosts/wwwroot<Directory "/var/www/vhosts/wwwroot"> Options -Indexes AllowOverride All Order allow,deny Allow from all</Directory></VirtualHost>
apache-2.4.x配置虚拟机的大致写法如下:
<VirtualHost 192.168.10.81:80>ServerAdmin rocdk890@gmail.comdirectoryIndex index.html index.php index.htm index.shtml login.phpServerName 192.168.10.81DocumentRoot /var/www/vhosts/wwwroot<Directory "/var/www/vhosts/wwwroot"> Options -Indexes AllowOverride All Require all granted</Directory></VirtualHost>
可以看到apache-2.4.x把NameVirtualHost给取消,现在配置虚拟主机不需要再配置NameVirtualHost了.
删除了 Order deny,allow 和 Order allow,deny
把 Deny from all 替换成了 Require all denied
把Allow from all 替换成了 Require all granted
然后还把 Allow from 192.168.10.21 这样的语句给替换成了 Require host 192.168.10.21
转自:http://www.111cn.net/phper/apache/60401.htm
0 0
- apache2.4 AH01630: client denied by server configuration错误
- apache AH01630: client denied by server configuration错误解决方法
- apache AH01630: client denied by server configuration错误解决方法
- apache AH01630: client denied by server configuration错误解决方法
- apache AH01630: client denied by server configuration错误解决方法
- apache AH01630: client denied by server configuration
- Apache/2.4.9启动错误:AH01630: client denied by server configuration
- virtualhost配置不成功,纠结了好几个小时的问题 :AH01630: client denied by server configuration
- Apache2.4 虚拟主机(VirtualHost)的配置方法,用来解决client denied by server configuration
- client denied by server configuration: proxy:ajp:
- apache 访问网站forbidden: client denied by server configuration错误解决方法
- apache支持cgi运行.py报错client denied by server configuration: /xxx.py
- Mysql 4以上版本密码算法不同导致“Client does not support authentication protocol requested by server”错误
- NFS server/client configuration in Ubuntu
- NFS无法挂载,出现错误:reason given by server: Permission denied的解决办法
- 关于"Client does not support authentication protocol requested by server”错误
- MYSQL 错误:Client does not support authentication protocol requested by server;
- MySQL 版本错误处理(Client does not support authentication protocol requested by server)
- javafX初探(单选按钮)
- cocos2d-x---ttf字体 和 fnt字体 的显示
- Objective-c 中的Category和Extension
- EditingSupport 对TreeViewer和TableViewer的编辑功能的支持
- 几种不同语言版本的HMM实现
- apache2.4 AH01630: client denied by server configuration错误
- poj2187--Beauty Contest(凸包首杀)
- 从算法学起C语言--老鼠走迷宫
- 生成独立的gcc调试文件
- Hibernate ehcache 配置二级缓存及说明
- android context 上下文
- CODEVS 1475 m进制转十进制
- Android编译系统分析大全 终极总结篇
- 用js获取网页DOM(例:input标签的ID)的chrome插件