- Aug 9, 2001
- 2,810
- 13
- 81
I Need to forward a URL from Apach to JBoss
The site I am working on is bringing a second URL up next week and the JBOSS servlet needs to know which of the two URL's the request came from for proper processing. I currently have the server setup so that Apache does a ProxyPass converting the incoming URl to localhost:8080 via:
ProxyPass / http://localhost:8080/
which works fine for a single URL but doesn't work for multiple ones. How can I convert this to something like this:
From
http://incomingurl.com/hello/
to
http://localhost:8080/incomingurl.com/hello/
__________________
The site I am working on is bringing a second URL up next week and the JBOSS servlet needs to know which of the two URL's the request came from for proper processing. I currently have the server setup so that Apache does a ProxyPass converting the incoming URl to localhost:8080 via:
ProxyPass / http://localhost:8080/
which works fine for a single URL but doesn't work for multiple ones. How can I convert this to something like this:
From
http://incomingurl.com/hello/
to
http://localhost:8080/incomingurl.com/hello/
__________________
