Posts Tagged ‘apache web server’

Apache web server on windows, how to password protect directory

Running Windows 2003 with Apache 2.2, how do I password protect a web directory? First, open up your httpd.conf file located in your apache\conf directory. In the directory sections, add the following <Directory “c:/htdocs/foldername-to-secure”>  AllowOverride All  Options none  Order deny,allow </Directory> To create the password file, goto a dos prompt, and into the apache’s bin [...]

More »