Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

Re: Scope of ProxyPreserveHost

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


httpd-dev.2012 at velox

Apr 10, 2012, 9:38 AM

Post #1 of 2 (302 views)
Permalink
Re: Scope of ProxyPreserveHost

On 10.04.2012 12:38, Tom Evans wrote:
> On Tue, Apr 10, 2012 at 1:38 AM, Jie Gao <J.Gao [at] sydney> 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.

s/"Location"/<Location>/, presumably.

Per-dir support for ProxyPreserveHost was added in 2.3.3, actually:
https://issues.apache.org/bugzilla/show_bug.cgi?id=34901.

Kaspar


J.Gao at sydney

Apr 10, 2012, 5:20 PM

Post #2 of 2 (296 views)
Permalink
Re: Scope of ProxyPreserveHost [In reply to]

Thanks, Kaspar, for the info. That's exactly what I had in mind.

And thanks for this new great feature in 2.3/4!


Jie

* Kaspar Brand <httpd-dev.2012 [at] velox> wrote:

> Date: Tue, 10 Apr 2012 18:38:02 +0200
> From: Kaspar Brand <httpd-dev.2012 [at] velox>
> To: dev [at] httpd
> Subject: Re: Scope of ProxyPreserveHost
>
> On 10.04.2012 12:38, Tom Evans wrote:
> > On Tue, Apr 10, 2012 at 1:38 AM, Jie Gao <J.Gao [at] sydney> 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.
>
> s/"Location"/<Location>/, presumably.
>
> Per-dir support for ProxyPreserveHost was added in 2.3.3, actually:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=34901.
>
> Kaspar

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.