[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] .htaccess on RaQ How To !



Here's what works for me..

First get .htpasswd Password Manager (free) from:

http://www.cgi-factory.com/password/index.shtml
(download is at the bottom of the screen)

Try the admin, try the demo..

Here's what you will have to do..

ABOVE the /web folder.. Create a empty file "htpasswd" or what 
ever you would like to name it. Chmod it to 777.. (this will be your 
AuthUserFile, see below)

Then create an .htaccess file like this..

---snip---
AuthType Basic
require valid-user
# AuthName is the name of the directory
AuthName Private
AuthPAM_Enabled off
AuthUserFile /home/sites/site4/htpasswd
---snip---

--leave out the --snips:)
Whatever folder you put this .htaccess file into, it will ask for a 
username and password...

Using the password manager you downloaded, you can add and 
delete users.. However.... The password manager must be installed 
per site....repeat per site.... (read the doc's that come with the 
manager) edit the .cfg file at each site and your in business..

Cheers, Lennie Core

---------------------------------------------------
             Lennie Core, Ceo
       Coreave.com, Design & Hosting
               757-442-6240
            http://coreave.com