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

Mailing List Archive: Apache: Dev

ProxyPreserveHost

 

 

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


ed-http at s5h

Oct 8, 2009, 2:06 AM

Post #1 of 3 (153 views)
Permalink
ProxyPreserveHost

Hi,

Can anyone see anything wrong with changing the ProxyPreserveHost
directive so that it's configurable from directory?

./modules/proxy/mod_proxy.c:

< AP_INIT_FLAG("ProxyPreserveHost", set_preserve_host, NULL,
RSRC_CONF,
---
> AP_INIT_FLAG("ProxyPreserveHost", set_preserve_host, NULL,
> RSRC_CONF|ACCESS_CONF,

Thanks

Ed Neville
Attachments: signature.asc (0.19 KB)


nick at webthing

Oct 8, 2009, 3:10 AM

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

On 8 Oct 2009, at 10:06, ed wrote:

> Hi,
>
> Can anyone see anything wrong with changing the ProxyPreserveHost
> directive so that it's configurable from directory?

It would need to be on the per-dir config for that to work correctly.
As it stands, if you have enabled that you have a nasty gotcha:
set different values in different <Location> contexts, and they'll
just overwrite each other.

--
Nick Kew


J.Gao at isu

Oct 19, 2009, 9:32 PM

Post #3 of 3 (93 views)
Permalink
Re: ProxyPreserveHost [In reply to]

* Nick Kew <nick[at]webthing.com> wrote:

> On 8 Oct 2009, at 10:06, ed wrote:
>
> >Hi,
> >
> >Can anyone see anything wrong with changing the ProxyPreserveHost
> >directive so that it's configurable from directory?
>
> It would need to be on the per-dir config for that to work correctly.
> As it stands, if you have enabled that you have a nasty gotcha:
> set different values in different <Location> contexts, and they'll
> just overwrite each other.

It would be really useful if it works in <Location> contexts.

Regards,



Jie

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


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.