Configure the Web Server.
HTTP port for both HP-UX Apache and IBM AIX Apache Web server
- Using any text editor, open the $SWEAPP_ROOT/conf/httpd.conf file.
- Locate the
Listen
section and change the HTTP port number to the number you set in Step 3.
Listen HostIP
:81
where:
HostIP = The IP Address of the Web Server
- Change the
ServerName
value to the same value as the one for Listen
.
ServerName HostIP
:81
HTTPS port for HP-UX Apache
- Using any text editor, open the $SWEAPP_ROOT/conf/ssl.conf file.
- Change the HTTPS port numbers in the following section to the port number you set in Step 3.
Listen 444
<VirtualHost_default_:444>
SSLEngine on
HTTPS port for IBM AIX Apache Web server
- Using any text editor, open the $SWEAPP_ROOT/conf/httpd.conf file.
- Add the following section before the Virtual Directories section to enable SSL.
LoadModule ibm_ssl_module modules/mod_ibm_ssl.so
Listen HostIP
:444
where:
HostIP = The IP Address of the Web Server
- Add the following section at the end of the httpd.conf file, before the Virtual Directories section.
<VirtualHost HostIP
:444>
SSLEnable
DocumentRoot $home/$build/web/htdocs/en_US
ErrorLog logs/ssl_error_log
CustomLog logs/ssl_access_log common
</VirtualHost>
Keyfile $home/$build/web/ssl/key.kdb
Sun ONE Web Server
- Using the Sun ONE Web Server Admin console, go to the Preferences screen.
- Click on the Edit Listen Sockets tab and change the port number to the new value you set in Step 3.