From: | Mick <michaelkintzios@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] htpasswd works only for valid-user | ||
Date: | Mon, 08 Mar 2010 23:13:46 | ||
Message-Id: | 201003082313.08594.michaelkintzios@gmail.com | ||
In Reply to: | [gentoo-user] htpasswd works only for valid-user by Laurent Kappler |
1 | On Monday 08 March 2010 19:48:12 Laurent Kappler wrote: |
2 | > Hi |
3 | > |
4 | > I'm using htpasswd to write the user password form my htaccess. |
5 | > |
6 | > It works only if I put "require valid-user" not if I put "require |
7 | > specificuser" |
8 | > |
9 | > any idea? |
10 | |
11 | Have you tried: |
12 | |
13 | AuthType Basic (or Digest) |
14 | AuthUserFile /usr/local/apache/passwd/htpasswords |
15 | Require user specificuser |
16 | |
17 | Make sure that the path to the htpasswords file is outside your webroot - you |
18 | don't want visitors to be able to access it! |
19 | -- |
20 | Regards, |
21 | Mick |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-user] htpasswd works only for valid-user | Laurent Kappler <laurent@××××××××××××.org> |
Re: [gentoo-user] htpasswd works only for valid-user | Laurent Kappler <laurent@××××××××××××.org> |
Re: [gentoo-user] htpasswd works only for valid-user | Laurent Kappler <laurent@××××××××××××.org> |