Listen 81
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_ajp_module /usr/lib/apache2/modules/mod_proxy_ajp.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
<VirtualHost *:8000>
DocumentRoot /usr/local/tomcat/webapps/prj
ErrorLog logs/abc-error_log
CustomLog logs/abc-access_log common
AliasMatch .*/prj/css/(.*) /usr/local/tomcat/webapps/prj/css/$1
AliasMatch .*/images/(.*) /usr/local/tomcat/webapps/prj/images/$1
AliasMatch .*/js/(.*) /usr/local/tomcat/webapps/prj/js/$1
AliasMatch /static/games/(.*) /usr/local/tomcat/webapps/static/games/$1
ProxyPassMatch /*.gif$ !
ProxyPassMatch /*.jpg$ !
ProxyPassMatch /*.png$ !
ProxyPassMatch /*.css$ !
ProxyPassMatch /*.js$ !
ProxyPassMatch /*.htm$ !
ProxyPassMatch /*.html$ !
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
<Proxy *>
AllowOverride AuthConfig
Order allow,deny
Allow from all
Options -Indexes
</Proxy>
</VirtualHost>