httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Smedley" <pau...@smedleydot.info>
Subject [users@httpd] mod_auth problem
Date Sun, 23 Apr 2006 11:04:48 GMT
Hi All,
I'm trying to secure a page on my site using mod_auth_basic

I have the following in httpd.conf:
    <Directory "/website/phpmyadmin">
        AuthType Basic
        AuthBasicProvider file
        AuthBasicAuthoritative Off
        AuthName "Admin"
        AuthUserFile c:/mptn/etc/htpasswd
        Require user psmedley
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

but when I try and access the directory, I get a user/password dialog 
but it doesn't accept it, and in error_log I get:
[Sun Apr 23 20:32:15 2006] [error] [client 192.168.0.2] access to 
/phpmyadmin failed, reason: require directives present and no 
Authoritative handler.

Any ideas?

-- 
Cheers,

Paul.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message