On Monday 08 March 2010 19:48:12 Laurent Kappler wrote:
> Hi
> 
> I'm using htpasswd to write the user password form my htaccess.
> 
> It works only if I put "require valid-user" not if I put "require
> specificuser"
> 
> any idea?

Have you tried:

        AuthType Basic (or Digest)
        AuthUserFile /usr/local/apache/passwd/htpasswords
        Require user specificuser

Make sure that the path to the htpasswords file is outside your webroot - you 
don't want visitors to be able to access it!
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to