Apache2.2和Apache2.4中httpd.conf配置文件的异同

Apache2.2和Apache2.4中httpd.conf配置文件的异同
Windows环境从Apache2.2改成Apache2.4后httpd.conf中的设置异同。 1、权限设定方式变更 2.2使用Order Deny / Allow的方式,2.4改用Require apache2.2: Order deny,allow Deny from all apache2.4: Require all denied 此处比较常用的有如下几种:Require all denied Require all granted Require host xxx.com Require ip 192.168.1 192.168.2 Require local 注意:若有设定在htaccess文件中的也要修改 2...