Gustin at echostar.ca
Fri Jun 9 16:33:26 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Mitchell Brown wrote:
> It says here that you're SUPPOSED to put the .htpasswd in the folder you
> want protected -- so thats what I was doing. If you don't do it that
> way - then how else do you do it?
The .htpasswd is generally where you store your usernames and passwords,
.htaccess is put in the folders that you want to protect.
Having said that,.htpasswd is a totally arbitrary name, I have a
completely different name on my system, as long as the .htaccess file
points to the correct location of the htpasswd you are OK.
Also the apache error log is probably going to tell you what is going
wrong. Just do a tail -f -n50 /var/log/apache2/error.log
When you try to connect you should see something.
I use a program called quadkonsole so I can see multiple things at the
same time (a screen session can be split to achieve a similar effect).
I will often tail the access.log at the same time.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v188.8.131.52 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the clug-talk