PDA

View Full Version : How to use a .htaccess file?


filburt1
Sat 30th Mar '02, 7:01pm
I know how to use one to block an IP from the forums dir, but how can I use it to require a password? I've only done it directly in httpd.conf before and even then it was when I was my own host.

eva2000
Sat 30th Mar '02, 7:06pm
http://www.bignosebird.com/apache/a10.shtml :)

filburt1
Sat 30th Mar '02, 7:43pm
I assume that mkpasswd gives the same results on both the Windows and Unix versions of Apache?

filburt1
Sat 30th Mar '02, 8:02pm
I mean htpasswd :rolleyes:

And apparently it does :D, thanks eva :)