[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Password Protected Directory
- Subject: Re: [cobalt-users] Password Protected Directory
- From: "Farnaam Support" <support@xxxxxxxxxxx>
- Date: Mon Feb 17 02:00:00 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Dear José Luis,
Thank you for your help.
I have done all steps you told me, but when the box appear to ask for user
name and password for accessing to the folder and the files which are in it,
the authentication will reject the user name and password!
Please tell me what I have done wrong.
Regards,
Shaya
----- Original Message -----
From: "José Luis Chafardet Grimaldi" <joseluis@xxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Saturday, February 15, 2003 12:15 PM
Subject: Re: [cobalt-users] Password Protected Directory
> > How I can Protect a folder with a password, on a web site on cobalt
RAQ4?
> >
> > _____________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
> >
> >
> With .htaccess
>
> Create a file called .htaccess
>
> in it add the next lines
>
>
>
> AuthUserFile /home/sites/site1/web/directory/.htpasswd
> AuthName "Restricted access"
> AuthType Basic
> <Limit GET>
> require username
> </Limit>
>
>
>
> note that require username is the user that must be entered in the text
box
>
> that will apear on the screen when some one try to open that directory
>
> Then on the shell in the dir where .htaccess is located type:
>
> htpasswd -c AuthUserFile /home/sites/site1/web/directory/.htpasswd
username
>
> the -c flag will ask you for a password, 2 times, the first for the
password
> and the second for confirmation
>
> sorry my english, hope you understanded my explaination
>
> regards,
>
> José Luis Chafardet G.
>
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
>