
5. Apache User Access Authentication
5-2
January
2002
7800-A2-GB32-00
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
-c
parameter to create the password file:
Solaris:
htpasswd -c
/opt/pdn/OpenLane/database/config/.htpasswd
username
Windows:
htpasswd.exe -c
c:\opt\pdn\OpenLane\database\config\.htpasswd
username
Summary of Contents for OpenLane SLM 5.5
Page 1: ...OpenLane SLM 5 5 Administrator s Guide Document No 7800 A2 GB32 00 January 2002...
Page 22: ...2 Installing OpenLane on Solaris 2 12 January 2002 7800 A2 GB32 00...
Page 34: ...3 Installing OpenLane on Windows 3 12 January 2002 7800 A2 GB32 00...
Page 46: ...5 Apache User Access Authentication 5 4 January 2002 7800 A2 GB32 00...
Page 64: ...7 OpenLane Maintenance 7 12 January 2002 7800 A2 GB32 00...
Page 70: ...8 Building and Using a Firmware Library 8 6 January 2002 7800 A2 GB32 00...
Page 104: ...A OLCmd Reference A 34 January 2002 7800 A2 GB32 00...
Page 108: ...B Using XML to Produce Reports B 4 January 2002 7800 A2 GB32 00...