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>
<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>
相关文章推荐
- Ubuntu 配置 apache 虚拟主机以后出现 [warn] NameVirtualHost *:80 has no VirtualHosts
- apache 虚拟主机的配置
- Apache 在本地配置多个虚拟主机
- apache下虚拟主机的配置
- [Windows]Apache虚拟主机多网站配置教程 127.0.0.2 127.0.0.3 ....
- Apache虚拟主机的配置
- apache配置虚拟主机及虚拟目录
- Zend Framework 在 apache 配置建立虚拟主机
- apache开 4000 启虚拟主机 并进行配置
- PHP中级篇 Apache配置httpd-vhosts虚拟主机总结及注意事项[OK]
- apache 配置虚拟主机,实现转发
- Apache 配置虚拟目录和虚拟主机
- PHP学习笔记【4】--apache服务器配置--配置虚拟目录和配置虚拟主机
- 转:Ubuntu上apache多端口配置虚拟主机的方法
- apache 配置基于域名的虚拟主机
- Apache配置虚拟主机,实现多级域名。
- apache配置多个虚拟主机 重定向localhost 尽可能减少对主配置文件的修改
- apache虚拟主机配置.htaccess
- Apache 虚拟主机 VirtualHost 配置
- Linux环境下Apache配置多个虚拟主机挂载多站点同时运行