<VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /home/web/xxxx/ <Directory "/home/web/xxxx/"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> ##禁止打开.log文件设置 <Files ~ ".log$"> Order allow,deny Deny from all </Files> ServerName www.xxxx.com ServerAlias ...... ServerAlias ...... ServerAlias ...... ServerAlias www.xxxx.hk ErrorLog logs/www.xxxx.com-error_log CustomLog logs/www.xxxx.com-access_log common </VirtualHost>
APCHE虚拟主机Conf配置
猜你喜欢
转载自lan-hai.iteye.com/blog/1727810
今日推荐
周排行