On Tue, Apr 10, 2012 at 1:38 AM, Jie Gao <j....@sydney.edu.au> wrote: > Hi All > > Would it be possible to expand the scope of ProxyPreserveHost to "Location"? > > Regards, > > > Jie >
I don't understand; ProxyPreserveHost affects the proxying apache server, and controls whether it rewrites the 'Host' header in the request with the selected backend's hostname or not. 'Location' on the other hand is a response header. mod_proxy already has a directive to rewrite response headers like 'Location', see ProxyPassReverse. Cheers Tom