I have a quick question but I've been struggling to find the best solution:
I have two java webapps and wordpress (php) that I need to serve through my Prod website:
- App #1 should be accessed when pointing to www.example.com/ (this would have other url too such as "www.example.com/book")
- App #2 should be accessed when pointing to www.example.com/manage
- Finally WordPress would be accessed at www.example.com/info
How can I configure apache to serve all these three instances at the same time?
So far I have and it's not quite working right. Any suggestions would be much appreciated!
Listen 8081 <VirtualHost *:8081> DocumentRoot /var/www/html </VirtualHost> ProxyPass /manage http://127.0.0.1:8080/manage ProxyPassReverse /manage http://127.0.0.1:8080/manage ProxyPass /info http://127.0.0.1:8081/info ProxyPassReverse /info http://127.0.0.1:8081/info ProxyPass / http://127.0.0.1:9000/ ProxyPassReverse / http://127.0.0.1:9000/