[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] .htaccess
- Subject: [cobalt-developers] .htaccess
- From: "Nabil Francis" <nabilf@xxxxxxxxxxx>
- Date: Sun Jul 15 04:19:02 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Hello,
I'm very new to this list so I don't if my question is in the right place,
but I'm sure that I will find some help here.
So I was told that there some protection to a site if I just put 2 files in
it to make it accessible by a username and password (.htaccess,.htpasswd)
so I put the file .htaccess in the main directory of the site
------------------------------
AuthUserFile /home/sites/site12/web/.htpasswd
AuthName Some_Site
AuthType Basic
<Limit GET>
require valid-user
</Limit>
------------------------------
and I made a .htpasswd and put in the same directory listed above
------------------------------
htpasswd -c .htpasswd some_user
------------------------------
and tried to browse for the url hoping to see a window for a username and
password but I didn't find anything to prompt me!!!!!
So please can anyone tell me where I went wrong?
I appreciate any help from you.
Regards,
Nabil