[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,
> 
> PassAuthIPs    12.34.56.78  23.45.67.89
> 
> Then the requests from these IPs would get past.
> How can I do it?thanks.

You can implement your own httpd.conf directives with some effort:

http://perl.apache.org/docs/1.0/guide/config.html#Adding_Custom_Configuration_Directives
 and
http://perl.apache.org/docs/2.0/user/config/custom.html

But, for simple needs, you should also consider using PerlSetVar

http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlSetVar_

------------------------------------------------------------------------
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to