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?
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?