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

RE: [cobalt-users] RAQ2 and htaccess with or without Frontpage



> I  've  searching  for  the right information 2 nights long but I dont
> fount  the  right  answer.  Maybe  there  is  someone  who  fixed this
> allready.
> I have a RAQ2 and want want to protect a single directory in a user web.
> It ist a Frontpage-Web.
> Frontpage says that I can see the setting but cannot edit them.
> If I manually edit .htaccess and .htpasswd I cannot access to the web.
> I  tested  some  different  ways  of crypting the password, but no one
> really works.
> Is there a way to make it? Or isnt it possible on the RaQ2?
> Thank you very much for answering me.

I set up http://www.cgi-factory.com/password/index.shtml Password Manager in
a client's FrontPage web site with no problems.
In the cfg.pl file I set the path as
$passfile="/home/sites/site#/.htpasswd"; with site# being that site's
directory.

The .htaccess file for the directories it creates looks like:
AuthPAM_Enabled off
Options -Indexes
AuthUserFile /home/sites/site#/.htpasswd
AuthGroupFile /dev/null
AuthName "Protected Directory"
AuthType Basic
<Limit GET PUT POST>
require valid-user
</Limit>
--
Dan Kriwitsky