IP-Based vhosts behind reverse proxy

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?)
jamiequint [ Mo, 21 Januar 2008 07:09 ] [ ID #1913157 ]

Re: IP-Based vhosts behind reverse proxy

<jamiequint [at] gmail.com> wrote in message
news:36077bdf-0fa5-4fca-bf25-5ca345644bb1 [at] 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.
spam [ Mo, 21 Januar 2008 08:23 ] [ ID #1913158 ]

Re: IP-Based vhosts behind reverse proxy

On Jan 20, 11:23=A0pm, "D. Stussy" <s... [at] bde-arc.ampr.org> wrote:
> <jamiequ... [at] gmail.com> wrote in message
>
> news:36077bdf-0fa5-4fca-bf25-5ca345644bb1 [at] 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?
jamiequint [ Mo, 21 Januar 2008 08:37 ] [ ID #1913159 ]

Re: IP-Based vhosts behind reverse proxy

<jamiequint [at] gmail.com> wrote in message
news:24393b67-398f-4845-8b29-1cd89c1fef6b [at] z17g2000hsg.google groups.com...
On Jan 20, 11:23 pm, "D. Stussy" <s... [at] bde-arc.ampr.org> wrote:
> <jamiequ... [at] gmail.com> wrote in message
>
> news:36077bdf-0fa5-4fca-bf25-5ca345644bb1 [at] 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.
spam [ Mo, 21 Januar 2008 22:02 ] [ ID #1913171 ]
Webserver » alt.apache.configuration » IP-Based vhosts behind reverse proxy

Vorheriges Thema: Newbie Virtual host questions
Nächstes Thema: Implementation of Apache based custom webdav server