ProxyRequests On
DocumentRoot "/usr/local/tomcat/webapps/ROOT
proxypass /jsp ajp://localhost:8009/jsp
ProxyPassReverse /jsp ajp://localhost:8009/jsp
ServerAdmin test1@126.com
ServerName test1.com
ErrorLog logs/test1-error_log
CustomLog logs/test-access_log common
以上所有的jsp文件都放在jsp文件夹中,由tomcat解析。
proxypass /images ! -->表示不通过proxypass 解析
以此类推!