X Nations

X Nations (http://www.xnations.com/index.php)
-   General Webmaster Business and Discussions (http://www.xnations.com/forumdisplay.php?f=2)
-   -   Help with .htaccess (http://www.xnations.com/showthread.php?t=1702)

Evil Chris 01-27-2003 08:24 PM

Help with .htaccess
 
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/


All times are GMT -4. The time now is 11:23 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
2013 - xnations.com