Brian,

Yes, it's frustrating.  I got it to work by 

a) protecting the docroot with a Directory directive
b) placing the LOGIN outside the docroot (in a sibling directory, error) and 
specifying it with a Location directive

Rafael suggested the Location directive around the same time it occurred to me to try 
that.

To wit:

# Make an alias to sibling directory under the docroot.
Alias /error/ "/my/error/"

# Protect my whole docroot.
<Directory "/my/docroot">
AuthType My::Auth
AuthName MyAuth
Require   [whatever]
</Directory>


# This is the action of the login.pl script 
# It is located outside the docroot, so as to avoid the blanket protection
<Location /error/LOGIN>
AuthType My::Auth
AuthName MyAuth
SetHandler perl-script
PerlHandler My::Auth->login
</Location>

# This gets the login.pl script to run properly.
PerlModule ModPerl::Registry
<Location /error/login.pl >
  SetHandler perl-script
  PerlResponseHandler ModPerl::Registry
  Options +ExecCGI
</Location>

Hope this works for you.

Liz


-----Original Message-----
From: Brian Clarkson [mailto:[EMAIL PROTECTED]



I'm having the same problem.

( I never saw a response to the list, and I'm abandoning my use of 
Apache::AuthCookieDBI because I can't get it configured correctly.  I 
did post to the list for assistance, but no responses ... )

--brian


--
Report problems: 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

Reply via email to