Re: apache2 directory protection

2009-12-04 Thread Chris Davies
vr wrote: > I am having trouble getting apache2 recognizing directory protection. > I understand that .htpasswd should reside someplace else and even moved it > to rule this out but is the above not enough on a default installation of > apache2 under lenny to protect a directory? If you look at

Re: apache2 directory protection

2009-12-04 Thread Tony Nelson
On 09-12-04 11:14:38, vr wrote: > I am having trouble getting apache2 recognizing directory protection. > > I've created a directory /var/www/mydir and created .htaccess & > .htpasswd files in there but am never prompted for login. > > .htaccess > AuthUserFile /var/www/mydir/.htpasswd > AuthType

Re: apache2 directory protection

2009-12-04 Thread lego_12239
On Fri, Dec 04, 2009 at 11:14:38AM -0500, vr wrote: > I am having trouble getting apache2 recognizing directory protection. > > I've created a directory /var/www/mydir and created .htaccess & .htpasswd > files in there but am never prompted for login. > > .htaccess > AuthUserFile /var/www/mydir/.

Re: apache2 directory protection

2009-12-04 Thread vr
On Fri, 04 Dec 2009 11:14:38 -0500, vr wrote: > I understand that .htpasswd should reside someplace else and even moved it > to rule this out but is the above not enough on a default installation of > apache2 under lenny to protect a directory? I managed to find my answer: The /var/www has Allo

apache2 directory protection

2009-12-04 Thread vr
I am having trouble getting apache2 recognizing directory protection. I've created a directory /var/www/mydir and created .htaccess & .htpasswd files in there but am never prompted for login. .htaccess AuthUserFile /var/www/mydir/.htpasswd AuthType Basic AuthName "test" require valid-user .htpas