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

RE: [cobalt-users] .htaccess error



> Hi,
>
> I just set up a .htaccess and a .htpasswd file and now I can´t
> log on to the
> website any more.
>
> The .htaccss looks like this:
> # Access file
> order allow,deny
> allow from all
> require valid-user
> Authname "control-center.net - Domainregistrierung"
> Authtype Basic
> AuthUserFile
> /home/sites/site6/web/WebObjects/domainregistrierung/.htpasswd
>
> Then I logged in via SSH and executed the following command:
> /usr/sbin/htpasswd -c
> /home/sites/site6/web/WebObjects/domainregistrierung/.htpasswd user
>
> Both files have permissions 777.
>
> And now the server doesn´t accept my password any more. Can anyone help me
> please?
>

What password? You can always telnet in as root and delete the .htaccess
file, or just upload a new one.
You're going to need:
AuthPAM_Enabled off
in the .htaccess file if you want it to access a .htpasswd file other than
the one that controls all sites. You'll notice your server admin password
probably works with the current setup.

What file did you CHMOD 777? I've never heard of doing a CHMOD on a
.htaccess file.

--
Dan Kriwitsky