Web Hosting Talk







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


filburt1
03-30-2002, 06:36 PM
I know how to use one to block an IP from a dir on my site, but how can I use it to require a password?

iamdave
03-30-2002, 07:15 PM
DO you have a control panel for your site? Usually the control panels have software that will generate a .htpasswd file, which will password protect a directory...

filburt1
03-30-2002, 07:41 PM
I have one but it's extraordinarily weak (its most powerful feature is e-mail aliases).

iamdave
03-30-2002, 08:01 PM
You can search at hotscripts.com for such programs to make the htpaswd file.

filburt1
03-30-2002, 08:07 PM
Got it, thanks :)