View Full Version : Help with .htaccess
Evil Chris
01-27-2003, 08:24 PM
Can someone provide me with enough info to create an .htaccess file that is intended to simply password protect a single directory?
I'm a bit lost here... Thanks!
cyberpunk
01-27-2003, 10:40 PM
AuthUserFile /home/paysites/mysite.com/password/.htpasswd
AuthGroupFile /dev/null
AuthName Members
AuthType Basic
<Limit GET POST>
require valid-user
</Limit>
then you jsut need to add passwds tot he file called .htpasswd
u cna use the commant htpasswd from a unix promtp to do this
wsjb78
01-28-2003, 04:44 AM
A friend of mine has this little CGI build here. I guess that's all you'll need:
http://www.weballey.net/cgi-bin/passmake.cgi
wsjb78
01-28-2003, 05:27 AM
Or here a small tutorial with further info on .htaccess:
http://www.freewebmasterhelp.com/tutorials/htaccess/
vBulletin® v3.7.3, Copyright ©2000-2024, Jelsoft Enterprises Ltd.