[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Re: htpasswd
- Subject: [cobalt-users] Re: htpasswd
- From: Joe Kerns <joe@xxxxxxxxxxxxx>
- Date: Fri Mar 17 15:54:16 2000
> > I wanted to create a password protected dir. So I did the following:
> >
> > Created the .htaccess file in the /home/sites/site1/web/pw/ dir
Just as a side note, according to Apache, you should not put your .htpasswd file in
a web readable directory. Put it in /home/sites/siteXX/ rather than within or
under /home/sites/siteXX/web/ (XX is the site number). It works fine...the Cobalt
example is wack...
Oh yeah, this might save you some typing, htpasswd has it's path already setup so
you can just type:
htpasswd -c /home/sites/siteXX/.htpasswd some-a-holes-username
at least on my RAQ2...
Joe