users@glassfish.java.net

Apache proxy + Glassfish = redirect issues

From: <glassfish_at_javadesktop.org>
Date: Sun, 14 Feb 2010 08:30:04 PST

I'm having some problems using Apache as a proxy. I have a virtual server setup in Apache with the following lines:

ServerName myapp.mydomain.com
ProxyRequests Off
ProxyPass / http://127.0.0.1:8080/MyApp/
ProxyPassReverse / http://127.0.0.1:8080/MyApp/
ProxyTimeout 300

When I do anything in my application, I am redirected to http://myapp.mydomain.com/MyApp/page.jsf. I'm not sure when MyApp is getting appended to the URL. Is this some kind of setting in Glassfish? Any help would be appreciated.
[Message sent by forum member 'gabeosx' (gabeosx_at_yahoo.com)]

http://forums.java.net/jive/thread.jspa?messageID=386630