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!
;) ok got it

it was Require user not Require user.

Still my question about Limit GET POST ... it seems risky...

thank you!!
Laurent

Reply via email to