How to use mod_proxy to let my index of Apache go to Tomcat ROOT and be able to browse my other Apache sites
- by Dagvadorj
I am trying to use my Tomcat application (deployed at ROOT) to be viewed from Apache port 80. To do this, I used mod_proxy, since mod_jk made me try harder.
I used sth like this in httpd.conf:
<location http://www.example.com>
Order deny,allow
Allow from all
PassProxy http://localhost:8080/
PassProxyReverse http://localhost:8080/
</location>
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
And now I can not retrieve my previous sites on Apache, which was running prior to my configuration.
How can I have both running?