I'm setting up a server and trying to configure the Apache. It only needs to work as a frontend to Tomcat.
To do that I added some instructions to the VirtualHost directive, using mod_proxy:
<VirtualHost *> ServerName myserver.domain.com ProxyRequests Off ProxyPass / http://myserver.domain.com:8080/ ProxyPassReverse / http://myserver.domain.com:8080/ </VirtualHost>
It works fine, and if the need comes, I´ll use mod_jk.
But, how do I do it the right way using easyapache, and stop it to always rewrite my changes.