[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] RE: htaccess and FrontPage
- Subject: RE: [cobalt-users] RE: htaccess and FrontPage
- From: "Dan Kriwitsky" <webhosting@xxxxxxxxx>
- Date: Sat Aug 4 20:44:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>
> I tried this and I couldn't even access the site anymore. It wouldn't
> recognize the login and password. I have also tried telnetting
> and creating
> the htaccess file (another recommendation in the archive) and even tried
> changing ownership to no avail.
>
I'm using Htpasswd Password Manager V1.1 from http://www.cgi-factory.com
Where did you put the .htaccess file? I only put it in a new directory that
I was trying to protect. Don't mess with the .htaccess file in the top
level. I also put the .htpasswd file above the /web directory. Below is the
.htaccess file in the protected directory. The CGI script I also placed in a
directory I created via FTP called cgi-local so as not to mess with the
FrontPage created cgi-bin.
AuthPAM_Enabled off
Options -Indexes
AuthUserFile /home/sites/site#/.htpasswd
AuthGroupFile /dev/null
AuthName "Enter Your Corporate ID"
AuthType Basic
<Limit GET PUT POST>
require valid-user
</Limit>
site# of course being the site number or the site with the folder I'm
protecting.
--
Dan Kriwitsky