<VirtualHost *:80>
ServerName www.xxx.com
ServerAdmin xxxxx@xx.com
DocumentRoot /var/www/html
directoryIndex index.html index.php index.htm index.shtml login.php
<Directory "/var/www/html">
Options Indexes FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
网友评论