Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Torsten Foertsch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 25 September 2003 22:15, Haroon Rafique wrote: > If I keep this directive in the back-end config, the client's original IP > never makes it to the access_log. The application does however get the since you have got the real ip address alre

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Jie Gao
On Fri, 26 Sep 2003, Jie Gao wrote: > Date: Fri, 26 Sep 2003 08:04:14 +1000 (EST) > From: Jie Gao <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Off Topic: mod_perl reverse proxy setup and extracting > client's original IP > > > > >

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Kyle Dawkins
Ahh hahaha OK, posted too soon. Should have read it more carefully. Sorry to post a solution to a problem you don't have. :-) Kyle Dawkins Central Park Software On Thursday, Sep 25, 2003, at 15:05 US/Pacific, Kyle Dawkins wrote: Hi there I have the same setup. Just put in a rewrite rule to

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Jie Gao
On Thu, 25 Sep 2003, Haroon Rafique wrote: > Date: Thu, 25 Sep 2003 16:15:53 -0400 (EDT) > From: Haroon Rafique <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Off Topic: mod_perl reverse proxy setup and extracting client's > original IP > > Hi,

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Kyle Dawkins
Hi there I have the same setup. Just put in a rewrite rule to add the client IP into the query string: RewriteEngine On RewriteRule ^/perl/(.*)$ http://localhost:8103/perl/$1?_client_ip=%{REMOTE_ADDR} [P,QSA] Works like a charm. Then in your mod_perl stuff, you can grab the value of _client_

Re: Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Haroon Rafique
On Today at 4:15pm, HR=>Haroon Rafique <[EMAIL PROTECTED]> wrote: HR> To secure the back-end, direct access to the back-end directly is HR> prohibited. The back-end config has the following directive to only HR> allow proxied requests to come through: HR> HR> HR> order deny,allow HR> deny fr

Off Topic: mod_perl reverse proxy setup and extracting client's original IP

2003-09-25 Thread Haroon Rafique
Hi, I have a slightly off topic inquiry. I've googled/RTFMed. I run mod_perl in a reverse proxy setup. Light apache in the front-end, heavy mod_perl apache in the back-end both running on the same machine. The front end has the following reverse proxy directives: ProxyPass/perl/ http://l