Some day we'll have the X-Forwarded-For and friends in the default
mod_proxy module. :-)


 - ask

-- 
ask bjoern hansen, http://ask.netcetera.dk/   !try; do();


---------- Forwarded message ----------
Date: Tue, 27 Mar 2001 12:47:12 +0200
From: Graham Leggett <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PATCH] X-Forwarded-For

Ask Bjoern Hansen wrote:

> As an option it would be useful to be able to forward the
> Host: header too.
> 
> Lots of people find this amusingly simple module useful for that
> http://develooper.com/code/mpaf/mod_proxy_add_forward.c

I put in X-Forwarded-For and x-Forwarded-Host into mod_proxy with the
last patch. I changed X-Host to X-Forwarded-Host so that if in the
future these two become parts of HTTP and drop the X- there is not clash
with the Host header.

I also included the X-Forwarded-Server header (for X-Server-Host) - but
this functionality is duplicated by the HTTP/1.1 Via header, so I am in
two minds as to whether this should be included.

Regards,
Graham
-- 
-----------------------------------------
[EMAIL PROTECTED]                "There's a moon
                                        over Bourbon Street
                                                tonight..."


Reply via email to