On Thu, 20 Dec 2001, Igor Sysoev wrote:

> On Thu, 20 Dec 2001, Thomas Eibner wrote:
> 
> > On Thu, Dec 20, 2001 at 07:04:50AM -0500, Philip Mak wrote:
> > > > AccelSet* adds X-* headers to the request to the backend. This is useful to
> > > > know what the original request details were.
> > > 
> > > In ftp://ftp.lexa.ru/pub/apache-rus/contrib/ (where I have been told to
> > > download mod_accel/mod_deflate from before), I see another file called
> > > mod_realip-1.0.tar.gz just released one week ago. From looking at the
> > > keywords in the documentation, it looks like a module to be installed on
> > > the backend httpd that will parse these X-* headers to retrieve the
> > > original IP address.
> > 
> > I basically wrote something similar for the users of mod_proxy_add_forward
> > 2-3 months ago, it's called mod_rpaf and sets r->connection->remote_ip
> > and moved the X-Host: headers into the incoming Host: header and then
> > updates the vhost structure so virtualhosting via mod_proxy_add_forward
> > works. The module can be found at: http://stderr.net/apache/rpaf/
> 
> There is one drawback in setting r->connection->remote_addr.
> If you want to disable direct access to backend then you can't do it
> with mod_access - you need to configure firewall.

Sorry, I did not notice RPAFproxy_ips.

Igor Sysoev


Reply via email to