I have a custom PerlAuthenHandler that works fine when protecting particular URLs but if I try to protect the document root it also protects necessary URLs I use for login and logout. Is there a way that I can exclude particular URLs or allow them to pass thru?

Here is my SSO.conf file

-----CUT-----

#<IfModule mod_perl.c>
PerlOptions +GlobalRequest
<Location /SSO-login>
  SetHandler perl-script
  PerlHandler SSO::SSOAuthHandler->login
  AuthType SSO::SSOAuthHandler
  AuthName SSO
</Location>


<Location /SSO-logout> SetHandler perl-script PerlHandler SSO::SSOAuthHandler->logout AuthType SSO::SSOAuthHandler AuthName SSO </Location>


# Below are URI locations to be protected # Protect /manual <Location /manual> PerlAuthenHandler SSO::SSOAuthHandler->authenticate AuthType SSO::SSOAuthHandler AuthName SSO require valid-user </Location>

# Protect /
<Location />
 PerlAuthenHandler SSO::SSOAuthHandler->authenticate
 AuthType SSO::SSOAuthHandler
 AuthName SSO
 require valid-user
</Location>
#</IfModule>

----CUT-----


Andy Hale
begin:vcard
fn:Andy Hale
n:Hale;Andy
org:Computer Sciences Corporation;Fleet Numerical Meteorology and Oceanography Center - STAT
adr:7 Grace Hopper Ave Stop 1 ;;Fleet Numerical Meteorology and Oceanography Center ;Monterey;CA;93943-5501;USA
email;internet:[EMAIL PROTECTED]
title:Jave Web Services Developer
tel;work:(831) 656-4631
x-mozilla-html:TRUE
version:2.1
end:vcard


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