Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Rewriting/Redirecting configuration issue |
|
Author |
|
jrhooker
Joined: 21 Jan 2010 Posts: 2 Location: Burnaby, BC, Canada
|
Posted: Thu 21 Jan '10 0:26 Post subject: Rewriting/Redirecting configuration issue |
|
|
Complete n00b, to the point where I'm not even sure if what I'm stumped on is a redirection issue or a URL rewriting issue.
Essentially, I'm running multiple tomcat servers (Eclipse Infocenters, to be exact) on a single Windows 2003 server. Each tomcat server is running on its own port.
I'm also running an Apache server, and I've set up redirects so that users can hit the various tomcat servers via simplified names:
Redirect permanent /xmlmind http://proxy.pmc-sierra.com:8080/xmlmind
Redirect permanent /xmlmind2 http://bby1xcms02:9996/help
Redirect permanent /hyphy http://bby1xcms02:9999/help
Redirect permanent /synthephy http://bby1xcms02:9994/help
Redirect permanent /rda_wiki http://stoker/wikifarm/wiki000/
Redirect permanent /RDAHelp http://bby1xcms02:9993/help
However, as soon as a user hits the redirect (i.e. they go to http://[my_domain]/hyphy) the URL that they see their browser is the url of the tomcat server (i.e. http://bby1xcms02:9999/help) and I'd like them to continue replace the servername:port with the virtualized name.
What function am I looking for here? What should I be googling for answers?
Thanks,
Jeff. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Tue 26 Jan '10 0:20 Post subject: |
|
|
You search for a reverse proxy.
example
Code: |
ProxyPass /xmlmind http://proxy.pmc-sierra.com:8080/xmlmind
ProxyPassReverse /xmlmind http://proxy.pmc-sierra.com:8080/xmlmind
# and so on
|
|
|
Back to top |
|
jrhooker
Joined: 21 Jan 2010 Posts: 2 Location: Burnaby, BC, Canada
|
Posted: Mon 01 Mar '10 23:23 Post subject: |
|
|
You were absolutely right, thank you very much. |
|
Back to top |
|
|
|
|
|
|