cancel
Showing results for 
Search instead for 
Did you mean: 

Reverse proxy for wcmqs site

luishuang
Champ in-the-making
Champ in-the-making
I'm trying to setup reverse proxy for a wcmqs site.

This is my apache settings.


<VirtualHost *:80>
ProxyPass         / http://10.20.128.11:8080/wcmqs/
ProxyPassReverse  / http://10.20.128.11:8080/wcmqs/
</VirtualHost>

and this is what shows up on the screen when I browse to it [img]http://i.imgur.com/orrvs.png[/img]

If i change the settings to

ProxyPass         /wcmqs http://10.20.128.11:8080/wcmqs/
ProxyPassReverse  /wcmqs http://10.20.128.11:8080/wcmqs/

Then the page would render correctly if I visit the site with http://10.20.128.17/wcmqs, but I want the site on the root if that is possible?
1 REPLY 1

michaelc
Champ on-the-rise
Champ on-the-rise
to do it that way you need make a copy of css, images, img, js & preview on your apache server.
you have an invalid reference to your content.

another option 
   configure tomcat to run on 80
   stop apache
   change the context to /
   copy the war wcmqs to ROOT