Proxy Pass
I have setup virtual host in apache2 as below
ServerName xxxx.com
ServerAlias
DocumentRoot /srv/www/xxxx.com/public_html/
ErrorLog /srv/www/xxxx.com/logs/error.log
CustomLog /srv/www/xxxx.com/logs/access.log combined
ProxyPass /ShoppingCart
my requirement is that when i hit
Need your support to complete it.
Regards,
Sanjay
1 Reply
ProxyPass / http://localhost:8080/ShoppingCart
I am not 100% sure, I think this is right. The way you have it setup you would be need to go to
The first parameter in ProxyPass is the path in the URL, and the second is what to point it too.
Normally it would be like this:
ProxyPass /ShoppingCart http://localhost:8080/ShoppingCart
This is who you get Apache to front tomcat (the easy way).
Thy these or a few variations and see how it works out. Reload Apache after each change. I got this info here