Use the (Unlimited web hosting) location of your apache installation s htpasswd
Tuesday, December 11th, 2007Use the location of your apache installation s htpasswd command, if not located in /usr/local/apache2/bin. b. You will be prompted to enter john s password; enter it as doe. You will then be required to re-enter the password for confirmation. That s it; your Linux htaccess installation is complete. For Windows htaccess installation: a. To run htpasswd, go to Start . Run and type cmd to run commands from the command prompt. The command prompt should look like Figure 12-1. Figure 12-1 b. Navigate to the C:Program FilesApache groupApache2bin directory (or wherever your htpasswd.exe program resides) using the cd command and run htpasswd with the following syntax at the prompt: C:>cd C:Program FilesApache groupApache2bin C:Program FilesApache groupApache2bin>htpasswd -c userauth john c. At the prompt to enter john s password, enter it as doe; you will then be required to reenter the password for confirmation. That s it; your Windows htaccess installation is complete. 5. Navigate to a file in your protected directory, and you should see a screen similar to Figure 12-2. 367 User Logins, Profiles, and Personalization
Visit our web design programs services for an affordable and reliable webhost to suit all your needs.