您的位置:首页 > 运维架构 > Apache

apache hosts 虚拟主机 配置

2011-05-18 22:35 323 查看
NameVirtualHost *:80

<VirtualHost *:80>

ServerName www.webim.com

DocumentRoot "d:/work/webim/"

ErrorLog logs/host.www.webim.com-error_log

TransferLog logs/host.www.webim.com-access_log

<Directory "d:/work/webim/">

Options FollowSymLinks IncludesNOEXEC Indexes

DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml

AllowOverride Options FileInfo

Order Deny,Allow

Allow from all

</Directory>

</VirtualHost>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: