Creating a Password File for the Apache HTTP Server
The Apache HTTP server requires a password file.
- Procedure
- Open a terminal window.
- Navigate to APACHE_HOME.
- Create a htpasswd subdirectory to store the password file. Create a blank htpasswords file, if not already there in this directory.
- Navigate to the APACHE_HOME/bin directory.
- Create a partner identity using the Apache
htpasswd utility for the user asgpartner01 with password
asgpartner01, shown as follows:
For example, on the Windows platform:
htpasswd APACHE_HOME\htpasswd\htpasswords asgpartner01 New Password:asgpartner01 Enter New Password:asgpartner01
- Create a second partner identity using the Apache
htpasswd utility for the user asgpartner02 with password
asgpartner02, shown as follows:
For example, on the Windows platform:
htpasswd APACHE_HOME\htpasswd\htpasswords asgpartner02 New Password:asgpartner02 Enter New Password:asgpartner02