Trying to get htaccess to work...or...man, what am I doing wrong!
Matt Alexander
plug-discuss@lists.plug.phoenix.az.us
Tue, 1 Oct 2002 16:52:14 -0700 (PDT)
So what happens when you browse to:
http://localhost/test/.test
???
Your httpd.conf file should be configured to automatically block the
loading of any files that start with .ht. So you should name the
AuthUserFile something like .htpasswd instead. Also, it wouldn't hurt to
move this file out of the webtree and put it in another directory that the
webserver has read access to.
~M
On Tue, 1 Oct 2002, Anthony Hologounis wrote:
> That was it!
>
> the missing piece was this in the htpd.conf file
>
> <Location /test/>
> AuthName "restricted stuff"
> AuthType Basic
> AuthUserFile /var/www/test/.test
> require valid-user
> </Location>