Re: QUESTION - Apache::AuthenCache

2002-07-08 Thread darren chamberlain

* JOSE SOLE <[EMAIL PROTECTED]> [2002-07-08 14:24]:
> I am trying to use Apache::AuthenCache as my authentication handler
> for my server.  I keep getting a FORBIDDEN error each time I try to
> access the index.html page by only typing the URL up to the directory.
> 
> Example:
> 
> //FORBIDDEN ERROR
> http://elvis.arl.psu.edu:9092/footer
> 
> //IT WORKS
> http://elvis.arl.psu.edu:9092/footer/
> http://elvis.arl.psu.edu:9092/footer/index.html

Add some debugging to the handler to ensure that the client is sending
the WWW-Authenticate header to both /footer and /footer/.  The
browser sees them as different locations (the first is a file named
footer, the second is a directory name footer), and possibly doesn't
consider the first to be within the auth realm for which it has a
username/password.

Apache's mod_dir usually Does The Right Thing here, when given the
chance; are you using a perl-handler on Location /?

(darren)

-- 
It is wrong always, everywhere and for everyone to believe
anything upon insufficient evidence.
-- W. K. Clifford, British philosopher, circa 1876



QUESTION - Apache::AuthenCache

2002-07-08 Thread JOSE SOLE

Hey mod_perl users,

I am trying to use Apache::AuthenCache as my authentication handler for my server.  I 
keep getting a FORBIDDEN error each time I try to access the index.html page by only 
typing the URL up to the directory.

Example:

//FORBIDDEN ERROR
http://elvis.arl.psu.edu:9092/footer

//IT WORKS
http://elvis.arl.psu.edu:9092/footer/
http://elvis.arl.psu.edu:9092/footer/index.html

I have Embedded Perl version 5.00503 for Apache/1.3.26 (Unix) mod_perl/1.27 

It works if I use  $r->notes('AuthenCache' => 'hit') in the AuthenCache code, which 
doesn't make sense.  I should be allowed to use
set_handlers() with my version of mod_perl.

I will appreciate any AuthenCache users help on solving this frustrating bug. Let me 
know any additional information that I should post. Thanks.

Jose J Sole
[EMAIL PROTECTED]