i am trying to use the mod_proxy_ajp to forward all the request from tocat.example.com to example.com:8080
here is what the tomcat server.xml looks like:
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
and here is the apache.conf config:
<VirtualHost *:80>
ServerName tomcat.example.com
ServerAdmin
[email protected]
ErrorLog logs/tomcat.example.com-error_log
CustomLog logs/tomcat.example.com-access_log common
<Proxy *>
AddDefaultCharset Off
Order deny,
allow
Allow from all
</Proxy>
ProxyPass / ajp://example:8009/
ProxyPassReverse / ajp://example:8009/
</VirtualHost>
but it is not working, any idea?