Friday, May 15, 2009

How to create an Apache password file

• Open a DOS session with (Start – Run – CMD)
• Goto the bin folder of the Apahce installation
• Exeute the following command: htpasswd -b -c .htpasswd [username] [password]
• Copy the created .htpasswd file to the documents folder you want to protect in your Apache installation

No comments:

Post a Comment