Overriding PerlAuthenHandler in sub-directories

2005-01-10 Thread Ferrari Geoffrey
Hi, If I have activated a PerlAuthenHandler for a directory in httpd.conf with ... PerlAuthenHandler My::Handler How can I deactivate this PerlAuthenHandler for a subdirectory, such as /foo/bar ? The online mod_perl docs explain that PerlHandlers can be deactivated for subdirectories by sett

Re: Overriding PerlAuthenHandler in sub-directories

2005-01-10 Thread Ferrari Geoffrey
Hi Sean, adding a .htaccess file might help, but I'm looking to see if there isn't a better solution. The main problem is that /foo/bar will actually be a virtual location, that is, it will be controlled by a directive in httpd.conf and will call the script to check the user's name and passwor

Re: Overriding PerlAuthenHandler in sub-directories

2005-01-10 Thread Sean Davis
On Jan 10, 2005, at 8:54 AM, Martin Moss wrote: I was looking into this a while back, and came across several posts that described using a PerlAccessHandler to determine if PerlAuthenHandler should be set or not. You could then setup PerlSetVar Require_Auth '0' in any sublocations that didn't need

Re: Overriding PerlAuthenHandler in sub-directories

2005-01-10 Thread Martin Moss
I was looking into this a while back, and came across several posts that described using a PerlAccessHandler to determine if PerlAuthenHandler should be set or not. You could then setup PerlSetVar Require_Auth '0' in any sublocations that didn't need Auth. your AccessHandler would then do a set-ha

Re: Overriding PerlAuthenHandler in sub-directories

2005-01-10 Thread Geoffrey Young
Ferrari Geoffrey wrote: > Hi, > > If I have activated a PerlAuthenHandler for a directory in httpd.conf with > > > ... > PerlAuthenHandler My::Handler > > > How can I deactivate this PerlAuthenHandler for a subdirectory, such as > /foo/bar ? if you want requests to /foo/bar to succeed unche