Mick a écrit :
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!
it works with require valid-user, like it finds the htpasswd file.


Reply via email to