配置文件

<VirtualHost *:80>

     ServerAdmin [email protected]

     DocumentRoot /var/www/html/xy/

     ServerName www.test.com

     ServerAlias test.com

     ErrorLog logs/www.test.com-error_log

     CustomLog logs/www.test.com-access_log common

     <Directory "/var/www/html/xy/">

         Options Indexes FollowSymLinks MultiViews +ExecCGI

                AllowOverride all

                Order allow,deny

                allow from all

     </Directory>

</VirtualHost>


你可能感兴趣的:(配置文件)