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

RE: [cobalt-users] re: htaccess



after creating the .htaccess from the cmmd line CD into the dir of the
.htyourfile 

then type

htpasswd -c .htyourfilehere kosch ( note kosch being the user name )
it will then ask u to confirm the password twice. If when u try to access
the dir with htaccess on and it doesnt work trying turning pam of by putting
AuthPAM_Enabled off in the .htyourfile

note that -C is for creating a new password/user name file just remove the c
to add additonal users to that file.

if this doesnt make sense plz forgive me its been a long day hehe.

-----Original Message-----
From: suppal@xxxxxxxxx [mailto:suppal@xxxxxxxxx]
Sent: 12 June 2001 22:23
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: [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

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users