Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache 2.2 redirect & proxypass

Status
Not open for further replies.

balvey27

Technical User
Feb 24, 2009
24
US
I'm fairly green with apache, oracle dba on linux background but I'm branching out into wider spectrums.

I'm looking at a config file that someone else setup, and having some trouble understanding why they've done what they've done.

ProxyRequests On
Redirect /myurl-1 /myurl-3/
Redirect /myurl-2 /myurl-3/
ProxyPass /myurl-2/ ProxyPassReverse /myurl-2/ ProxyPass /myurl-3/ ProxyPassReverse /myurl-3/
My understanding is that ProxyRequests should not be set to On there. Also, doesn't the 2nd Redirect make the first ProxyPass & ProxyPassReverse lines obsolete? Assuming I will only ever get requests for myurl-1 and myurl-2. After processing the first two Redirect lines, everything should be coming through as myurl-3, right?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top