首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

apache2 同一ip 多域名 虚拟主机配备

2012-09-08 
apache2 同一ip 多域名 虚拟主机配置JkMount /servlet/* ajp13 JkMount /*.jsp ajp13#NOTE: Inber modify

apache2 同一ip 多域名 虚拟主机配置


JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
#NOTE: Inber modify by 2007.3.20---> Apache don't have permission to access /WEB-INF/ on this server.
<Directory "F:/public_html/site1/WEB-INF">
deny from all
Options None
AllowOverride AuthConfig
Order deny,allow
</Directory>
</VirtualHost>

<VirtualHost *>
DirectoryIndex default.htm default.html index.htm index.html
ServerAdmin site2@163.com
DocumentRoot F:/public_html/site2
ServerName site2.163.com
ErrorLog E:/www_log/site2_log/error_log
CustomLog "|bin/rotatelogs.exe -l E:/www_log/site2_log/access.%Y-%m-%d.log 1G" common
JkMount /servlet/* ajp13
JkMount /*.jsp ajp13
#NOTE: Inber modify by 2007.3.20---> Apache don't have permission to access /WEB-INF/ on this server.
<Directory "F:/public_html/site2/WEB-INF">
deny from all
Options None
AllowOverride AuthConfig
Order deny,allow
</Directory>
</VirtualHost>

配置apache +tomcat 时一定要注意web-inf/we

热点排行