HP-UX OSRA for Web Services 2.5 Blueprint and Configuration Guide
Apache Web Server
Follow these steps to verify whether the Apache Web Server is running:
1. Open a web browser on the server.
2. Enter the following web address:
http://127.0.0.1
Or
http://<server-name>
If the web server is running, a welcome page displays your domain name. Documentation
detailing configuration and other requirements can be found here.
If the apache web server is not running, enter the following command to start it:
# /opt/hpws/apache/bin/apachectl start
To stop the apache server, enter the following command:
# /opt/hpws/apache/bin/apachectl stop
The configuration file found at /opt/hpws/apache/conf/httpd.conf contains information
about how the server runs, such as user and group IDs it should use, and location of other files.
This is the first file read by the httpd daemon. Follow these steps to make changes to the start
up directives:
1. Stop the Apache Web Server by entering the following command:
# /opt/hpws/apache/bin/apachectl stop
2. Edit the /opt/hpws/apache/conf/httpd.conf file to include the changes.
3. Restart the Apache Web Server by entering the following command:
# /opt/hpws/apache/bin/apachectl start
Follow these steps to start the Apache web server on system boot up:
1. Open the /etc/rc.config.d/hpws_apacheconf file.
2. Change the entry to set start to true as follows:
HPWS_APACHE_START=1
Tomcat
Follow these steps to verify whether the Tomcat Server is running:
1. Open a web browser on the server.
2. Enter the following web address:
http://<server-name>:8081
If the web server is running, the Tomcat web page should be displayed. Documentation detailing
configuration and other requirements can be found here.
If the Tomcat web server is not running, enter the following command to start it:
# /opt/hpws/tomcat/bin/startup.sh <options>
To stop the Tomcat server, enter the following command:
# /opt/hpws/tomcat/bin/shutdown.sh <options>
The primary configuration file containing information about the standalone Tomcat server,
provided with the HP-UX Web Server Suite, is /opt/hpws/tomcat/conf/server.xml.
Follow these steps to make changes to the directives:
Installing and Setting Up Components 17