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

Re: [cobalt-users] RE: htaccess and FrontPage



> > 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.

I am also using the indicated cgi program.  I put the files exactly where
you have indicated.  If I access the site via a browser, login and password
work fine.  If I try and publish changes to the site - FP won't recognize
any login and password to make that happen.  What do you mean don't mess
with the htaccess file in the top level?

>
> 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?

Thanks Brenda