Re: Help on .htaccess config
| From: | Ignacio Vazquez-Abrams | Date: | Sat, 25 Nov 2000 21:32:45 +0000 |
| Subject: | Re: Help on .htaccess config | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27184@lists.php.net to get a copy of this message | ||
On Sat, 25 Nov 2000, Antonio Guerrieri wrote:
> Hi all,
> I apologize for this question but I have a problem configuring a
> .htaccess file.
>
> My .htaccess file looks so:
>
> AuthUserFile /home/apache/htdocs/admin/.htpasswd
> AuthGroupFile /dev/null
> AuthName HTML
> AuthType Basic
>
> <limit GET POST>
> require valid-user
> </limit>
>
> I have set the httpd.conf so that .htaccess override all <directory> options.
>
> If I try to load the index.html file, the server return this alert in
> the error log:
>
> AuthUserFile takes 1-2 arguments, text file containing user IDs and passwords
>
> and I get a 500 error....!
>
> I'm also looking for the apache mailing list...
>
> Can you help me?
>
> Thank you
>
> antonio
>
Did you use htpasswd to create a list of user IDs and passwords? Didn't think
so. Use htpasswd to generate the file and put that filename in AuthUserFile.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>