[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] .htaccess doesnt do anything
- Subject: RE: [cobalt-users] .htaccess doesnt do anything
- From: "Patrick McNeil" <pmcneil@xxxxxxxxxxxxx>
- Date: Tue Oct 10 10:51:01 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I added this, but it still doesn't require authentication.
-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Alex Lee
Sent: Tuesday, October 10, 2000 11:27 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-users] .htaccess doesnt do anything
> >I am trying to password protect a directory. I made the .htaccess file in
> >the directory and put the following in it:
> >
> ># Access file
> >order allow,deny
> >allow from all
> >require valid-user
> >Authname DirectoryName
> >Authtype Basic
> >AuthUserFile /home/sites/sitename/users/username/.htpasswd
> >
> >this is the exact syntaxt found on the cobalt.com knowledgebase. but it
> >never prompts for the username/password.
> >what am i missing?
> >
> >Patrick
>
> Did you create the .htpasswd file in the users directory. That's
> sounds like
> what you're missing.
>
> type /usr/sbin/htpasswd --help for help
> but try /usr/sbin/htpasswd -c /home/sites/site/users/username/.htpasswd
> Must be SU
you need
AuthPAM_Enabled off
as well in your .htaccess
_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users