apache 2.4.9 vitrual host 配置

<VirtualHost *:80>
    ServerAdmin [email protected]
    directoryIndex  index.html index.php index.htm index.shtml login.php
    ServerName www.xx1.com
    DocumentRoot /wwww/xxq
    <Directory "/www/xxq">
        Options -Indexes
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

你可能感兴趣的:(apache 2.4.9 vitrual host 配置)