Re: .htaccess and .htpasswd
| From: | Matthew Sims | Date: | Wed, 13 Oct 2004 20:26:31 +0000 |
| Subject: | Re: .htaccess and .htpasswd | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199429@lists.php.net to get a copy of this message | ||
> # .htaccess
> AuthType Basic
> AuthName "Restricted Area"
> AuthUserFile "/www/html/path/to/file/admin/.htpasswd"
> require valid-user
>
> # .htpasswd
> Admin:ChqaxtiTH1e0E
>
> Both files are in same directory.
>
> Why it doesn't work?
>
> Can I use as AuthUserFile ".htpasswd" since they are in the same
> directory?
>
> I know its not smart but let's get this working and I'll move .htpasswd
> later to "upper level" :)
>
>
>
> -afan
Dude...do you know what mailing list you're on?
http://httpd.apache.org/lists.html
--
--Matthew Sims
--<http://killermookie.org>