add httpd.conf directive

2007-09-17 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

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

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 location /xyz PerlSetVar AllowedIps ip1 ip2 ip3 ... /location and in your module do sub handler { my $r = shift; # the request object my $AllowedIps =

-X and trapping kill?

2007-09-17 Thread Bill Moseley
Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 I have a very small config and when I run with -X it starts a single process but I can't control-C to kill it. I can't even kill from

Re: -X and trapping kill?

2007-09-17 Thread Fred Moyer
Bill Moseley wrote: Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8e mod_perl/2.0.2 Perl/v5.8.8 I have a very small config and when I run with -X it starts a single process but I can't control-C to kill it. I

Re: -X and trapping kill?

2007-09-17 Thread bharanee rathna
Hi guys, this is a known issue reported at http://issues.apache.org/bugzilla/show_bug.cgi?id=38848 and not modperl related. On 9/18/07, Fred Moyer [EMAIL PROTECTED] wrote: Bill Moseley wrote: Must be Monday. Is there a problem with the -X switch and prefork? I'm using: Apache/2.2.3