读书人

APCHE虚拟主机Conf配备

发布时间: 2012-11-26 11:48:49 作者: rapoo

APCHE虚拟主机Conf配置

<VirtualHost *:80>    ServerAdmin webmaster@www.xxx.com    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.hkErrorLog logs/www.xxxx.com-error_logCustomLog logs/www.xxxx.com-access_log common</VirtualHost>

读书人网 >操作系统

热点推荐