httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Waldman" <mmwald...@nyc.rr.com>
Subject RE: mod_auth_digest amiss correction
Date Fri, 24 Apr 2009 00:27:28 GMT
Correction:

The second time I try to access login.php, I get access.  But, not when I
try to access the directory that also has the same require.

Michele

> -----Original Message-----
> From: Michele Waldman [mailto:mmwaldman@nyc.rr.com]
> Sent: Thursday, April 23, 2009 8:11 PM
> To: modules-dev@httpd.apache.org
> Subject: mod_auth_digest amiss
> 
> Maybe, I'm missing something.  I was talking about needing to change
> apache,
> but I decided to try something else.
> 
> 
> 
> I've got this:
> 
> 
> 
> <FilesMatch ".*[^(login.php|logout.php)]">
> 
> AuthType Digest
> 
> AuthName "account"
> 
> AuthUserFile /home/path/public_html/account/.htpasswd
> 
> Require user admin
> 
> </FilesMatch>
> 
> 
> 
> <Files login.php>
> 
> AuthType Digest
> 
> AuthName "account"
> 
> AuthUserFile /home/path/public_html/account/.htpasswd
> 
> Require user admin
> 
> </Files>
> 
> 
> 
> <Files logout.php>
> 
> AuthType Digest
> 
> AuthName "account"
> 
> AuthUserFile /home/path/public_html/account/.htpasswd
> 
> Require user logout
> 
> </Files>
> 
> 
> 
> 
> 
> I access login.php and have access to the entire directory which via ajax.
> 
> 
> 
> Then I access logout.php and have access to logout.php, but nothing else.
> Good.
> 
> 
> 
> Next, time I try to access login.php using Safari and ajax with the right
> creditials, I get a popup with login user name filled out.
> 
> 
> 
> Am I mistaken in thinking I should not be logged in as admin?  Or that
> there
> is someway to force this to happen?
> 
> 
> 
> Michele
> 
> 



Mime
View raw message