RE: [us...@httpd] IP based redirect with mod_rewrite

2010-05-07 Thread Priya Vadlakonda (Contractor)
ge either for a user within UCOP or for an external user. Any more ideas that you would want me to try Can I pipe REMOTE_ADDR to HTTP_X-Forwarded_For , if so how do I do that? Thanks Priya From: Priya Vadlakonda (Contractor) Sent: Thursday, May 06, 2010 5:47 PM To: users@h

RE: [us...@httpd] IP based redirect with mod_rewrite

2010-05-06 Thread Priya Vadlakonda (Contractor)
: Priya Vadlakonda (Contractor) [mailto:priya.vadlako...@ucop.edu] Sent: Wednesday, May 05, 2010 8:31 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] IP based redirect with mod_rewrite True The problem is on the fail over environment, we don't have a load balancer and they would w

Re: [us...@httpd] IP based redirect with mod_rewrite

2010-05-05 Thread Priya Vadlakonda (Contractor)
Igor Cicimov To: users@httpd.apache.org Sent: Wed May 05 18:54:46 2010 Subject: Re: [us...@httpd] IP based redirect with mod_rewrite Yeah that's what I was suspecting. Because of the F5 masquerading the apache is not getting the client IP but the one set by F5. The simplest solution would

Re: [us...@httpd] IP based redirect with mod_rewrite

2010-05-05 Thread Charan
>> >> ------ >> *From*: Igor Cicimov >> *To*: users@httpd.apache.org >> *Sent*: Wed May 05 18:27:11 2010 >> *Subject*: Re: [us...@httpd] IP based redirect with mod_rewrite >> I wonder why the %{REMOTE_ADDR} approach is failing? Ar

Re: [us...@httpd] IP based redirect with mod_rewrite

2010-05-05 Thread Igor Cicimov
the log > snippet. > > Thanks > Priya > > -- > *From*: Igor Cicimov > *To*: users@httpd.apache.org > *Sent*: Wed May 05 18:27:11 2010 > *Subject*: Re: [us...@httpd] IP based redirect with mod_rewrite > I wonder why the %{REMOTE_ADDR} appr

Re: [us...@httpd] IP based redirect with mod_rewrite

2010-05-05 Thread Priya Vadlakonda (Contractor)
Cicimov To: users@httpd.apache.org Sent: Wed May 05 18:27:11 2010 Subject: Re: [us...@httpd] IP based redirect with mod_rewrite I wonder why the %{REMOTE_ADDR} approach is failing? Are you getting a wrong REMOTE_ADDR or your rule is not working? Can you please post your rewrite rule for that

Re: [us...@httpd] IP based redirect with mod_rewrite

2010-05-05 Thread Igor Cicimov
I wonder why the %{REMOTE_ADDR} approach is failing? Are you getting a wrong REMOTE_ADDR or your rule is not working? Can you please post your rewrite rule for that case and appropriate rewrite logs with RewriteLogLevel set as high as possible for debugging? You can also try to combine SetEnvIf an

[us...@httpd] IP based redirect with mod_rewrite

2010-05-05 Thread Priya Vadlakonda (Contractor)
Hi How do I set up a rule in Apache( If at all that is possible) to redirect traffic based on the IP address of the client. Here is the set up of the env There is a reverse proxy (F5 LTM) that does SSL offloading and this is the first point the user hits and this does load balancing acr