Re: add httpd.conf directive

2007-09-17 Thread Philippe M. Chiasson
[EMAIL PROTECTED] wrote: > Hello, > > I'm running mp1 with PerlAccessHandler handler. > I want to add some config directive into httpd.conf,and let my module > use them for passing auth. > ie,in httpd.conf I add these lines, > > PassAuthIPs12.34.56.78 23.45.67.89 > > Then the requests from

Re: add httpd.conf directive

2007-09-17 Thread Jeff Pang
2007/9/17, André Warnier <[EMAIL PROTECTED]>: > > If the above is not applicable, then you could use something like > >PerlSetVar AllowedIps "ip1 ip2 ip3" >... > > > and in your module do > > sub handler { >my $r = shift; # the request object >my $AllowedIps = $r->dir_config('All

Re: add httpd.conf directive

2007-09-17 Thread André Warnier
[EMAIL PROTECTED] wrote: I'm running mp1 with PerlAccessHandler handler. I want to add some config directive into httpd.conf,and let my module use them for passing auth. ie,in httpd.conf I add these lines, PassAuthIPs12.34.56.78 23.45.67.89 Then the requests from these IPs would get pa

add httpd.conf directive

2007-09-16 Thread pennyyh
Hello, I'm running mp1 with PerlAccessHandler handler. I want to add some config directive into httpd.conf,and let my module use them for passing auth. ie,in httpd.conf I add these lines, PassAuthIPs12.34.56.78 23.45.67.89 Then the requests from these IPs would get past. How can I do it?