kickster
02-23-2001, 11:53 AM
Does any one know the link to cobalt's instruction on how to set up password protection on Raq3? Or a step by step instruction on how to do it?
thanks
thanks
![]() | View Full Version : password protect directory on raq3 kickster 02-23-2001, 11:53 AM Does any one know the link to cobalt's instruction on how to set up password protection on Raq3? Or a step by step instruction on how to do it? thanks allan 02-23-2001, 12:20 PM The first thing you want to do is create a file called .htaccess in the directory you wish to password protect. The .htaccess file should look something like this: # Access file # Replace the pound sign in the line below with the path # for your site AuthUserFile /home/sites/site#/.htpasswd AuthGroupFile /dev/null AuthName "Memebers Site" AuthType Basic AuthPAM_enabled off require valid-user Then SSH to your site and run the command: /usr/bin/htpasswd -c /home/sites/site#/.htpasswd someuser You will then be prompted for a password, enter the desired password and this will create the file and add the user. You can somewaht automate this process by using Ace Password, from Ace Installer: http://www.ace-installer.com/acepassword.php Good luck allan kickster 02-23-2001, 12:52 PM Thanks what should I put in "Memebers Site" ? can it be anything or user name? DHWWnet 02-23-2001, 12:55 PM Hi you can put any name in the directory ,e.g: Members only or mysql database or ? elijaH kickster 02-23-2001, 01:33 PM Can some one point me to step by step instruction and I mean step by step :) allan 02-23-2001, 01:37 PM What error do you get? We may be able to help you based on that :). kickster 02-23-2001, 02:15 PM when I enter /usr/sbin/htpasswd -c /home/sites/site#/.htpasswd someuser I get /usr/sbin/htpasswd is a directory! allan 02-23-2001, 02:35 PM Kickster, On our RaQ htpasswd is in the /usr/bin directory not /usr/sbin check that. If you are still having problems e-mail me off board, and if you would like I can log into your server realy quick and get this set up. |