APCHE虚拟主机Conf配置
来源:未知 责任编辑:智问网络 发表时间:2013-11-10 20:23 点击:次
APCHE虚拟主机Conf配置
Apache代码 www.2cto.com
<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.hk
ErrorLog logs/www.xxxx.com-error_log
CustomLog logs/www.xxxx.com-access_log common
</VirtualHost>
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>