.htaccess & .htpasswd
Posted by: o0MattE0o (---.cable.ubr10.haye.blueyonder.co.uk)
Date: March 20, 2006 12:50AM

I'm shore I have this correct as I want a very simple login to stop people getting into a folder with out the password. all I get is the login popup window keep comping up again and again then after about 3 or 4 times it just got to the error page.
is it my coding or the server settings.

AuthUserFile /.htpasswd
AuthGroupFile /dev/null
AuthName "Password Protected Area"
AuthType Basic

<limit GET POST>
require valid-user


Options: ReplyQuote
Re: .htaccess & .htpasswd
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: March 20, 2006 01:45PM

Make sure AuthUserFile is pointing to the correct location to the.htpasswd file. If it is in the same folder as this htaccess folder is, then dont change it, otherwise use like this:
AuthUserFile "C:\wamp\somefolder\.htpasswd"

And remove this line:
AuthGroupFile /dev/null

Also make sure windows did not have the files as htaccess.txt and/or htpasswd.txt, or they will not work.

Options: ReplyQuote

Sorry, only registered users may post in this forum.