Help with .htaccess - X Nations
      
      
Go Back   X Nations > X Nations > General Webmaster Business and Discussions

Reply
 
Thread Tools Display Modes
Old 01-27-2003, 09:24 PM   #1
Evil Chris
Evil Chris is drinking Heineken
Clone of myself
 
Evil Chris's Avatar
 
Join Date: Aug 2002
Location: Montreal
Posts: 12,984
xBucks: 403,471
Send a message via ICQ to Evil Chris Send a message via AIM to Evil Chris Send a message via Skype™ to Evil Chris
Default 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!
__________________

Our Experience Payze
chris at payze.com | ICQ 342827
Evil Chris is offline   Reply With Quote
Old 01-27-2003, 11:40 PM   #2
cyberpunk
cyberpunk should edit this
Member
 
Join Date: Oct 2002
Location: Canada
Posts: 31
xBucks: 867
Send a message via ICQ to cyberpunk
Default

AuthUserFile /home/paysites/mysite.com/password/.htpasswd
AuthGroupFile /dev/null
AuthName Members
AuthType Basic


require valid-user


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
cyberpunk is offline   Reply With Quote
Old 01-28-2003, 05:44 AM   #3
wsjb78
wsjb78 should edit this
Local Shadow Agent #1
 
wsjb78's Avatar
 
Join Date: Nov 2002
Location: Home
Posts: 1,061
xBucks: 17,267
Default

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 is offline   Reply With Quote
Old 01-28-2003, 06:27 AM   #4
wsjb78
wsjb78 should edit this
Local Shadow Agent #1
 
wsjb78's Avatar
 
Join Date: Nov 2002
Location: Home
Posts: 1,061
xBucks: 17,267
Default

Or here a small tutorial with further info on .htaccess:

http://www.freewebmasterhelp.com/tutorials/htaccess/
wsjb78 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
2013 - xnations.com
All times are GMT -4. The time now is 03:48 PM.
Skin by vBCore.com