[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
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
[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
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?