IP-Based vhosts behind reverse proxy

IP-Based vhosts behind reverse proxy

am 21.01.2008 07:09:12 von jamiequint

Is it possible to have IP-Based vhosts an apache running behind a
reverse proxy? Where is the incoming IP data that apache usually uses
for this (its not in the HTTP headers is it?)

Re: IP-Based vhosts behind reverse proxy

am 21.01.2008 08:23:13 von spam

wrote in message
news:36077bdf-0fa5-4fca-bf25-5ca345644bb1@v29g2000hsf.google groups.com...
> Is it possible to have IP-Based vhosts an apache running behind a
> reverse proxy? Where is the incoming IP data that apache usually uses
> for this (its not in the HTTP headers is it?)

By default, no. However, see mod_headers to add the header at the proxy
interface to pass it to the back-end.

Re: IP-Based vhosts behind reverse proxy

am 21.01.2008 08:37:07 von jamiequint

On Jan 20, 11:23=A0pm, "D. Stussy" wrote:
> wrote in message
>
> news:36077bdf-0fa5-4fca-bf25-5ca345644bb1@v29g2000hsf.google groups.com...
>
> > Is it possible to have IP-Based vhosts an apache running behind a
> > reverse proxy? Where is the incoming IP data that apache usually uses
> > for this (its not in the HTTP headers is it?)
>
> By default, no. =A0However, see mod_headers to add the header at the proxy=

> interface to pass it to the back-end.

Thanks for the tip, I'll have a read through the mod_headers docs. Any
chance you would you happen to know what particular header apache
looks for this data in?

Re: IP-Based vhosts behind reverse proxy

am 21.01.2008 22:02:19 von spam

wrote in message
news:24393b67-398f-4845-8b29-1cd89c1fef6b@z17g2000hsg.google groups.com...
On Jan 20, 11:23 pm, "D. Stussy" wrote:
> wrote in message
>
> news:36077bdf-0fa5-4fca-bf25-5ca345644bb1@v29g2000hsf.google groups.com...
>
> > Is it possible to have IP-Based vhosts an apache running behind a
> > reverse proxy? Where is the incoming IP data that apache usually uses
> > for this (its not in the HTTP headers is it?)
>
> By default, no. However, see mod_headers to add the header at the proxy
> interface to pass it to the back-end.

Thanks for the tip, I'll have a read through the mod_headers docs. Any
chance you would you happen to know what particular header apache
looks for this data in?

There is NO header that apache looks for. You have to create one and use it
in your configuration file.