5. Apache User Access Authentication

Configuring HTTP Challenge/Response

Follow this procedure to configure HTTP Challenge/Response for OpenLane access authentication with the Apache Web server.

Procedure

1.If OpenLane is running, stop it.

2.Find the directory where Apache is installed. This is the directory where the file named apache (on Solaris) or apache.exe (on Windows) resides.

3.In a command line window, change to the Apache directory with the cd command. For example:

cd /opt/apache (Solaris) cd \opt\apache (Windows)

4.Under the /opt/apache/conf (or C:\opt\apache\conf) directory, open the file called httpd.conf. If the Apache configuration files were installed with OpenLane, then the text referred to below is commented out in the httpd.conf file.

Uncomment the text and make sure the AuthUserFile parameter (ordinarily /opt/pdn/OpenLane/database/config/ in Solaris and C:\opt\pdn\OpenLane\database\config\ in Windows) is correct. If the Apache configuration files were installed during an OpenLane installation, AuthUserFile is already set.

<Location "/OLServlets/*"> order allow,deny

allow from all AuthType Basic AuthName "OpenLane"

AuthUserFile /opt/pdn/OpenLane/database/config/.htpasswd require valid-user

</Location>

In this case, forward slashes should be used in the directory name for both Solaris and Windows.

If the commented text is not found, add the text as shown to the bottom of the file, specifying the location of the .htpasswd file where usernames and passwords are stored. The directory name must be an absolute path (full directory path and filename).

5.Change to the /opt/apache/bin (Solaris) or c:\opt\apache\bin

(Windows) directory.

6.Run htpasswd. The first time you use the htpasswd command, use the -cparameter to create the password file:

Solaris: htpasswd -c /opt/pdn/OpenLane/database/config/.htpasswdusername

Windows: htpasswd.exe -c c:\opt\pdn\OpenLane\database\config\.htpasswd username

5-2

January 2002

7800-A2-GB32-00

Page 44
Image 44
Paradyne SLM 5.5 manual Configuring Http Challenge/Response, Cd /opt/apache Solaris cd \opt\apache Windows