I am trying to deploy a JSF application behind a reverse proxy installation, with no success. The Apache reverse proxy has the following entries in the configuration:
ProxyPass /myApp http://localhost:8080/myApp
ProxyPassReverse /myApp http://localhost:8080/myApp
The application is running on jboss listening to port 8080 and behaves very well if I connect to http://server:8080/myApp
When I invoke http://server/myApp
, the redirection is done and I receive the core HTML of the page I requested, but all URLs inside the page are not correct, pointing to localhost:8080/myApp... As you understand, after a certain point the application is completely unusable.
Any ideas how I can configure myFaces ver.1.1 to make it generate relative URLs instead of absolute ones for everything if it doing?
Thank you in advance for your help