httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: New proxy hook
Date Sun, 21 Oct 2001 19:34:13 GMT
Daniel Lopez wrote:

> client <--->  apache with reverse proxy  <-->  origin server
> 
> mod_headers allows modification of headers between client and apache, but
> not headers between proxy and origin server.

Read the following section of the mod_headers manual to find out how to
change the request headers before they are passed to the remote server:

http://httpd.apache.org/docs-2.0/mod/mod_headers.html#requestheader

> > Adding hooks to proxy is bad, because it means that this functionality
> > is limited to proxy, and is not available to the rest of the server.
> 
> But this is proxy specific functionality :)

It isn't.

This same behaviour is useful in mod_jk, mod_webapp, and mod_cgi,
amongst others.

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Mime
View raw message