www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: [PATCH] X-Forwarded-For
Date Tue, 27 Mar 2001 10:47:12 GMT
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
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


Mime
View raw message