Re: [users@httpd] mod_proxy / mod_rewrite: Passing remote IP address to internal server

2005-06-15 Thread Joshua Slive
On 6/15/05, David Adam <[EMAIL PROTECTED]> wrote: > (You're probably not going to like this answer - all I can say is that I'm > sorry, I'm not an Apache developer and I'm not a mod_rewrite guru. Nor do > I manage more than about fifty users with CGI web pages, and our attitude > to them is very mu

Re: [users@httpd] mod_proxy / mod_rewrite: Passing remote IP address to internal server

2005-06-15 Thread David Adam
> > Have you tried looking at the X-Forwarded-For header? (Appears in CGI > > scripts as HTTP_X_FORWARDED_FOR) This is passed automatically by > > mod_proxy, as far as I know. > > yes I know this but all the scripts of my customers are looking for > REMOTE_ADDR etc. So how can I forward this to my

Re: [users@httpd] mod_proxy / mod_rewrite: Passing remote IP address to internal server

2005-06-15 Thread Werner Schalk
Hi, > Have you tried looking at the X-Forwarded-For header? (Appears in CGI > scripts as HTTP_X_FORWARDED_FOR) This is passed automatically by > mod_proxy, as far as I know. yes I know this but all the scripts of my customers are looking for REMOTE_ADDR etc. So how can I forward this to my inter

Re: [users@httpd] mod_proxy / mod_rewrite: Passing remote IP address to internal server

2005-06-14 Thread David Adam
On Wed, 15 Jun 2005, Werner Schalk wrote: > I do use mod_proxy as a reverse / forward proxy as follows: > > Inet -> Server (public IP, Apache 2) -> Internal Server (same system, virtual > server using Linux vserver - private IP address, Apache 2) > > Now all the requests that are send to the public

[users@httpd] mod_proxy / mod_rewrite: Passing remote IP address to internal server

2005-06-14 Thread Werner Schalk
Hi, I do use mod_proxy as a reverse / forward proxy as follows: Inet -> Server (public IP, Apache 2) -> Internal Server (same system, virtual server using Linux vserver - private IP address, Apache 2) Now all the requests that are send to the public IP address are forwarded to the internal ser