Re: Problem with proxys Auth...

2000-08-10 Thread Trevor Phillips

Eric Cholet wrote:
 
  This is a strange one for which I hope there's a simple answer  solution.
 
  I've put a Front-side Proxy on a webserver (as it was struggling under the load
  from lots of hits over slow links - more RAM than CPU issue), and it's helped
  performance wonderfully!
 
  However, my IP-based restrictions now seem to no longer work!
 
 Which version of mod_perl are you using? I fixed this in 1.22_01.

Aaah! I was running 1.21.x. Upgrading to 1.22 fixed the problem! Thanks...

-- 
. Trevor Phillips -   http://jurai.murdoch.edu.au/ . 
: CWIS Systems Administrator -   [EMAIL PROTECTED] : 
| IT Services   -   Murdoch University | 
 --- Member of the #SAS#  #CFC# 
| On nights such as this, evil deeds are done. And good deeds, of /
| course. But mostly evil, on the whole. /
 \  -- (Terry Pratchett, Wyrd Sisters)  /



Re: Problem with proxys Auth...

2000-07-31 Thread Eric Cholet

 This is a strange one for which I hope there's a simple answer  solution.
 
 I've put a Front-side Proxy on a webserver (as it was struggling under the load
 from lots of hits over slow links - more RAM than CPU issue), and it's helped
 performance wonderfully!
 
 However, my IP-based restrictions now seem to no longer work! 
 
 Before you ask, yes, I'm using mod_proxy_add_forward, with a
 "PerlPostReadRequestHandler My::ProxyRemoteAddr" routine at the other end to
 rewrite the IP back using  $r-connection-remote_ip.
 
 So, yes, as far as my CGIs, my modules, and the logging is concerned, people
 are from their REAL IPs (rather than that of the FSP), but IP restrictions
 (using the standard mod_access) are not taking effect at all!
 
 Any ideas on why this is, and how to get around it? I've done some testing 
 research, and AFAICS, it should work, as Post Read Requests happen before the
 Access phase...
 

Which version of mod_perl are you using? I fixed this in 1.22_01.

--
Eric





Problem with proxys Auth...

2000-07-30 Thread Trevor Phillips


This is a strange one for which I hope there's a simple answer  solution.

I've put a Front-side Proxy on a webserver (as it was struggling under the load
from lots of hits over slow links - more RAM than CPU issue), and it's helped
performance wonderfully!

However, my IP-based restrictions now seem to no longer work! 

Before you ask, yes, I'm using mod_proxy_add_forward, with a
"PerlPostReadRequestHandler My::ProxyRemoteAddr" routine at the other end to
rewrite the IP back using  $r-connection-remote_ip.

So, yes, as far as my CGIs, my modules, and the logging is concerned, people
are from their REAL IPs (rather than that of the FSP), but IP restrictions
(using the standard mod_access) are not taking effect at all!

Any ideas on why this is, and how to get around it? I've done some testing 
research, and AFAICS, it should work, as Post Read Requests happen before the
Access phase...

-- 
. Trevor Phillips -   http://jurai.murdoch.edu.au/ . 
: CWIS Systems Administrator -   [EMAIL PROTECTED] : 
| IT Services   -   Murdoch University | 
 --- Member of the #SAS#  #CFC# 
| On nights such as this, evil deeds are done. And good deeds, of /
| course. But mostly evil, on the whole. /
 \  -- (Terry Pratchett, Wyrd Sisters)  /