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

Re: [cobalt-users] Arkeia



Hi,

ok, now the "newbie" wants to help, too :-)

First, you have to create the password. A possibility is to login via
telnet and then enter

perl -e "print crypt('password', 'CB')"

For password, enter your password (NOTE: only the first 8 characters
are being used) and for CB enter any two characters, they are used for
the encryption scheme.

Then create a .htaccess file in the directory you want as follows:

=====
order allow,deny
allow from all
require valid-user
authname "Name Of Site As Shown In The Browser Password Window"
authpam_enabled off
authtype basic
authuserfile /home/sites/www.mysite.com/users/myuser/web/.htuser
<filesmatch "^\.ht">
deny from all
</filesmatch>
=====

In the file .htuser, make the following entry/entries:

====
username:encrypted_password
====

Good luck!
Florian