Chapter 1 Overview
Table of Contents The Secure Web Server (powered by Apache) is an implementation of the Apache Software Foundation's (ASF) Apache HTTP server for Tru64 UNIX. It contains a packaged, integrated and tested version of many of the popular components of the Apache Web server (mod_ssl, PHP, fastcgi, and others) and the modules that are used with it. In addition, the Apache Software Foundation's Tomcat Java Servlet and JavaServer Pages (JSP) are provided to handle Java based dynamic content.
The Secure Web Server integrates other features beyond the core modules supplied by ASF, including:
In addition, all modules provided with the Apache code base are built-in or provided as a dynamic shared object (DSO). The Secure Web Server provides a Web-based administration interface that allows an administrator to perform common management tasks on the Web server. You access these administration pages from the Web Server Administration utility (see Section : Accessing the Secure Web Servers). The Secure Web Server is available on the Associated Products CD-ROM, included with the Tru64 UNIX operating system distribution, and is also available with Internet Express for Tru64 UNIX. HP includes the Internet Express CD-ROM with Tru64 UNIX AlphaServer systems. If you need the Internet Express CD-ROM, you can contact your HP representative. The part number for the Internet Express product is QB-3NCAA-SA. The Secure Web Server is also available for download from the HP Web site: http://www.tru64unix.compaq.com/internet/ The Secure Web Server provides the following servers for managing Internet services:
where host.domain.name represents the fully qualified host name of the local system (the system on which Internet Express is installed) and port represents the port Web server is listening on (either Port 80 or 8081). The Administration Web Server is initially accessible from the local system only. To allow access from a remote system when running the Secure Web Server, see Section : Allowing Remote Access to the Administration Web Server. To access the Secure Web Servers, follow these steps:
When you choose Web Server Administration from the main menu, the Web Server Administration menu is displayed, listing the available servers and providing a link for changing server passwords. Figure 1-2 shows the Web Server Administration menu. In addition to the links for the Administration Web Server and Public Web Server, when you install Apache Version 2.0, an additional link, Manage the Public Web Server 2.0, is displayed. When you access the Web server, you are given access to privileged files and can perform system management tasks until exiting the browser. Do not leave an administration session unattended. Limit access to the admin account to those individuals authorized to perform Internet system management tasks. For Internet Express Version 6.0 and later, you have the choice of installing any of three Web servers: Apache Version 2.0, Apache Version 1.3, and a standalone Tomcat server. Each Web server has strengths and weaknesses that you should evaluate prior to choosing which server to install. It is possible to install all of the server options and configure them to respond to different ports. If the port you choose is other than the default HTTP port (port 80), then you must include the port number in the URL of the request. The following sections evaluate each of the Web server options. The Secure Web Server 1.3 is the traditional Web server powered by the Apache Version 1.3 code base. This server has a long history of reliability and the largest selection of Apache modules (see Appendix A: Secure Web Server 1.3 Components and Modules). Use this Web server under the following conditions:
The Secure Web Server 1.3 offers the following strengths:
The Secure Web Server 1.3 has the following weaknesses:
The Secure Web Server 2.0 is powered by the new Apache Version 2.0 code base. Apache Version 2.0 is a major revision of the Apache code base that provides for running applications in a multithreaded environment. Use the Secure Web Server 2.0 for new installations where there are no dependencies on Apache modules that are not yet available for the Apache Version 2.0 code base. (See Appendix B: Secure Web Server 2.0 Components and Modules for a list of the Apache Version 2.0 modules.) Migrating existing Web servers based on Apache Version 1.3 to Apache Version 2.0 is normally a straight forward process for most installations. The main configuration file, httpd.conf, requires very little modification to work with the new Apache architecture. The major issue with migration is the availability of Apache modules where a subset of modules do not yet support the Apache Version 2.0 API. The Secure Web Server 2.0 offers the following strengths:
The Secure Web Server 2.0 has the following weaknesses:
The Tomcat Java Servlet and JavaServer Pages container (i.e., Tomcat server) was originally used as a service for handling requests forwarded by another Web server. The current version of Tomcat is a full-featured Web server. Choose the Tomcat server when your applications primarily supply Java-based dynamic content in the form of Java Servlet and JavaServer Pages (JSP) with the supporting static Web content. The Tomcat server has the following strengths:
The Tomcat server has several weaknesses:
All installed Web servers are configured to restart when the system reboots. It is also possible to start and restart the servers from the command line. You can configure the Web servers to make them disabled. A disabled Web server will not be started on system reboot and will not start when the startup script is invoked. This feature allows a system administrator to better manage the migration of the Secure Web Server from Version 1.3 to Version 2.0 by configuring them to use the same ports while allowing only one version to run. Table 1-1 lists the commands for managing the Secure Web Server 1.3. Table 1-1 Command-Line Commands for Managing the Secure Web Server 1.3
Table 1-2 lists the commands for managing the Secure Web Server 2.0. Table 1-2 Command-Line Commands for Managing the Secure Web Server 2.0
Table 1-3 lists the commands for managing the Tomcat Web server. Table 1-3 Command-Line Commands for Managing the Tomcat Web Server
This section describes the following utilities for migrating the iPlanet Web Server to the HP Secure Web Server for Tru64 UNIX:
Proper system tuning can have a significant impact on the performance of the Secure Web Servers. The Secure Web Server software includes the kerneltuner shell script that sets the primary tuning recommendations for Internet server performance. These recommendations are described in the Tuning Tru64 UNIX for Internet Services manual, available from the following URL: http://h30097.www3.hp.com/docs/internet/TITLE.HTM Additional system performance tuning settings are also described in this document. The kerneltuner utility is installed in the bin subdirectory under the Web server root directory for each Secure Web Server Public Web server. Run this utility as root. For example:
The above example runs the kerneltuner utility in interactive mode. In this mode, the root user can choose which system tuning recommendations will be configured. Optionally, a kerneltuner script can configure all the system tuning recommendations without interaction from the user by running it with the kerneltuner utility with the -s command line option:
You do not have to run the kerneltuner utility for each Secure Web Server you installed. Instead, run the utility once on each system or TruCluster member where the Secure Web Server software is installed. For the primary tuning settings to take effect, reboot your system. You can reboot the system after running the kerneltuner utility, or you can wait for a more convenient time. During installation of the Secure Web Server, a single Web administration user is created for accessing all Administration Web Server instances. The username is admin. The administrator password is set to the password that you entered during installation. If you know the administrator password, you can change it using the Web Server Administration utility (Section : Changing the Password for the Administration Web Server). If you received your Secure Web Server software preinstalled from HP or if you have forgotten your administrator password, the /usr/internet/httpd/bin/dbmmange command lets you create, view, add, and update the contents of the Administrator user database. To run the dbmanage command and change the administrator password, follow these steps:
All Secure Web Server administration functions are performed using Port 8081. All activity is recorded in the associated log files (Section : Viewing Web Server Reports and Log Files). Management tasks available from the Secure Web Server administration menus include:
These tasks are described in detail in Chapter 2. Dynamic modules, also called Dynamic Shared Objects (DSO) or shared libraries, are loaded into the server process space only when necessary to assure that overall memory usage is reduced. You can use DSO modules to customize the Secure Web Server. Chapter 3 describes how to activate the Apache DSO modules. Appendix A lists the standard Apache Version 1.3 modules and Appendix B lists the standard Apache Version 2.0 modules provided with this release. Tomcat, provided with the Secure Web Server, is a Java Servlet and JavaServer Pages (JSP) container developed by the Apache Software Foundation's Jakarta project. The Tomcat engine is most commonly used with commercial grade Web servers such as Apache and can also be used as a standalone Web server. Tomcat is provided as an optional Secure Web Server subset that, when installed, allows the public instance of the Secure Web Server to be configured to seamlessly pass requests for Java Servlet and JSP pages to the Tomcat container. Chapter 4 describes how to start Tomcat, use the Tomcat examples, and locate Tomcat directories and files. The Secure Web Servers have built-in support for the Secure Socket Layer (SSL) on port 443. The HTTPS protocol is the most widely-used method for performing secure transactions on the Web. The protocol is supported by most Web servers and clients. SSL provides privacy, guaranteed through encryption. Although information can be intercepted by a third party, the perpetrator cannot read the information without a private encryption key. If the information received will not decrypt properly, the recipient can determine whether the information has been tampered with during transmission. SSL also provides authentication through digital certificates that are generated for SSL, although the source of digital certificates might not always be credible for online payment transactions. Secure Web Server SSL encryption uses a secret key nested within public key encryption and authenticated through digital certificates. Chapter 5 describes the administration functions that you perform to enable SSL on your server:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||