[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: Sun Aug 5 03:38:04 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> > 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.
>
> copied this file and put it in /home/sites/site1/web/
> (I had to wait until I ran the cgi program for the first time and then
> upload and change attributes)
> htpasswd is where indicated in htaccess
>
> any ideas?
>
As I said, don't mess with the .htaccess file in the top level, you
overwrote the FrontPage .htaccess file by putting the .htaccess in /web
instead of /web/protected_directory
That's why you're having problems. The .htaccess file goes in the directory
you want to protect, which usually isn't www.domain.com instead usually it
would be www.domain.com/protected_directory
--
Dan Kriwitsky