Would anyone be able to toss a dog a bone? I have this in my httpd.conf and
the server starts up fine, but when I try to access the page it doesn't do
any authentication.
I also tried it in $DOCUMENT_ROOT/.htaccess and I get a Perl not allowed
here.
Anyone have any ideas how I can pull this off?
<Perl>
$Location{"/"} = {
if ( $ENV{REMOTE_ADDR} =~ /x.x.x.x/) { ## This is set for my IP
specificly for a trial run.
PerlAuthenHandler => Apache::AuthenNTLM,
AuthType => ntlm,
require => valid-user,
PerlAddVar => {ntdomain => "DOMAIN PDC BDC",},
PerlSetVar => {ntlmdebug => 0,},
} else {
AuthType => Basic,
require => valid-user,
AuthName => "Login",
AuthUserFile => www/secure/passwd,
AuthGroupFile => www/secure/group,
}
};
</Perl>
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html