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

[cobalt-users] re: htaccess



Hello,

I am trying to restrict access to a website. Here are the steps I am
following.

create a .htpasswd file in directory above web

create a .htaccess file in web directory containing the following content;

# Acccess file
order allow, deny
allow from all
require valid-user
Authname Please enter you password
Authtype basic
AuthUserFile /home/sites/site35/.htpasswd

After doing so I get the following message when trying to access the site;

Internal Server Error


 The server encountered an internal error or misconfiguration and was unable
to complete your request.




What am I missing?

Any help would be greatly appreciated.

Surinder