Apache httpd 2.4.4 与老版本的差异
<VirtualHost *:80>
? ? ServerAdmin webmaster@dummy-host2.example.com
? ? DocumentRoot "/www/www.example.com"
? ? ServerName www.example.com
? ? ErrorLog "logs/www.example.com-error.log"
? ? CustomLog "logs/www.example.com-access.log" combined
?
? ? <Directory "/www/www.example.com">
? ? ? ?Options Indexes FollowSymLinks
? ? ? ?AllowOverride None
? ? ? ?Require all granted
? ? </Directory>
?
</VirtualHost>
?
Require all granted 替代老版本中的?Order allow,deny 与??Allow from all
?
?<Directory /var/www/>
? ? ? ?Options Indexes FollowSymLinks
? ? ? ?AllowOverride None
? ? ? ?Order allow,deny
? ? ? ?Allow from all
? ? ? ? </Directory>
?