apahce+tomcat jk配置

JkWorkersFile E:/Apache2/conf/workers.properties
JkLogFile E:/Apache2/logs/mod_jk.log
JkLogLevel info

<VirtualHost apexking.cn:81>
ServerAdmin [email protected]
DocumentRoot E:/Tomcat5.5/webapps/ROOT
DirectoryIndex index.html index.htm index.jsp
ServerName all-sites
JkMount /*.jsp ajp13
JkMount /*.do ajp13

#RewriteEngine On
#RewriteCond %{HTTP_HOST} ^[a-zA-Z0-9]+\.apexking.cn$
#RewriteRule ^/?$ /%{HTTP_HOST}
#RewriteRule ^/([a-zA-Z0-9]+)\.apexking\.cn/?$ /$1/shop.do?shopid=1 [R]


ErrorLog logs/all-sites-error.log
CustomLog logs/all-sites-access.log common
</VirtualHost>

你可能感兴趣的:(html,tomcat,jsp,Access)