What is the Apache 2.2.6Cc Web Server Supplement for OpenServer 6.0.0? KEYWORDS: openserver 6.0.0 600 apache web server 2.2.6 2 supplement oss709a postgresql docview development php perl cgi 8.2.3 mp3 RELEASE: SCO OpenServer Release 6.0.0 PROBLEM: What is the Apache 2.2.6 Web Server Supplement for OpenServer 6.0.0, where can I get it and how do I install it? SOLUTION: You can download the Apache 2.2.6Cc Web Server Supplement for OpenServer 6.0.0 from: ftp://ftp.sco.com/pub/openserver6/600/other/apache.2.2.6Cc What follows below are the Release Notes for Apache 2.2.6Cc. The Apache 2.2.6Cc Web Server Supplement provides a custom installable Apache 2 Web Server for SCO OpenServer 6.0.0. ------------------------------------------------------------- I. Software Notes and Recommendations 1. This supplement can be installed on the following SCO OpenServer 6.0.0 systems with the following Supplements installed: SCO OpenServer 6.0.0 Maintenance Pack 3 PostgreSQL Database Management System version 8.2.3Dc Both of these supplements are available to download from: http://www.sco.com/support/update/download/product.php?pfid=12&prid=20 ------------------------------------------------------------- II. Installation Instructions NOTE: This release supplement has been designed to co-exist with Apache 1.3.37 which is included with OpenServer 6.0.0 Maintenance Pack 3. This will allow you, if you wish, to continue run the older version of Apache while you migrate your existing web pages and web applications to Apache 2. NOTE: Installation of this supplement does not overwrite the configuration files of any existing Apache 2 configuration. If you wish to have a completely pristine install of Apache 2 then remove the existing configuration files from: /usr/lib/apache2 before installing. To install Apache 2.2.6Cc follow these steps: 1. Login as root 2. Create an empty directory, such as /tmp/apache2, to which the patch will be downloaded. 3. Download Apache 2.2.6Cc patch archive, Apache-2.2.6Cc-VOLS.tar from: ftp://ftp.sco.com/pub/openserver6/600/other/apache.2.2.6Cc to the directory created in step 2. 4. Extract the downloaded archive using: cd /tmp/apache2 tar xvf Apache-2.2.6Cc-VOLS.tar 5. Run the Software Manager with the command: scoadmin software or double-click on the Software Manager icon in the desktop. 6. Pull down the "Software" menu and select "Install New". 7. When prompted for the host from which to install, choose the local machine and then "Continue". 8. In the "Select Media" menu, pull down the "Media Device" menu. Select "Media Images", then choose "Continue". 9. When prompted for the "Image Directory", enter "/tmp/apache2" (or the directory where you placed the Apache-2.2.6Cc-VOLS.tar file in step 2) and choose "OK." 10. When prompted to select software to install, make sure that the "Apache Web Server 2.2.6 (ver 2.2.6Cc)" entry is highlighted. Choose "Install". 11. Once installation of the Apache 2 Web Server has completed, exit the Software Manager by selecting "Exit" from the "Host" menu. 12. If desired, remove or archive the downloaded patch file and remove the containing directory created in step 2. ------------------------------------------------------------- III. Configuration Instructions 1) Running Apache 2.2.6 and 1.3.37 Concurrently. If you wish to continue running Apache 1.3.37 concurrently with Apache 2, you will need to choose a different networking port for one of these web servers. By default, web servers like Apache listen on port 80, i.e. when you type a URL in a web brower that does not explicitly name a port, it will connect to the web server on port 80. An explicitly named port in a URL will look like: http://myserver.com:1234/mypage.html where the explicit port is 1234. The port number which the web server will listen to is specified for Apache 1.3.37 in the file: /usr/lib/apache/conf/httpd.conf and for Apache 2.2.6 in the file: /usr/lib/apache2/conf/httpd.conf Using your favorite text editor, edit one of these files, search for the line which looks like: Port 80 and change the 80 to be your alternate port number. Be sure to choose a port number which is not already in use (not displayed by netstat -an) and not reserved by another application (view the file /etc/services). If you have chosen to run Apache 1.3.37 on an alternate port, you will need to restart it via the command: /etc/apache restart To start Apache 2 (one time only), run the command: /etc/apache2 start To have Apache 2 start automatically whenever the machine is restarted, run the command: /etc/apache2 enable 2) Disabling Apache 1.3.37 If you no longer wish Apache 1.3.37 to run when the system is started, run the command: /etc/apache disable NOTE: SCO Documentation is currently served by Apache 1.3.37 using port 8457. Serving the documentation via Apache 2 requires installation of OSS709a. This patch is available to download from: ftp://ftp.sco.com/pub/openserver6/600/patches/oss709a 3) Apache 2 Configuration Apache 2 is built to support various loadable modules in order to support Secure Sockets Layers (SSL) Perl CGI Scripts PHP CGI Scripts and other capabilities. If you wish to disable any of these modules, perhaps because of security concerns, edit the file /usr/lib/apache2/conf/httpd.conf search for lines beginning with the string "LoadModule" and remove or comment the lines which refer to modules which you want to disable. Restart the server using /etc/apache2 restart to have your changes take effect. ------------------------------------------------------------- IV. Removal Instructions 1. Log in as root. 2. Execute the command: scoadmin software or double-click on the Software Manager icon in the desktop. 3. Highlight the " Apache Web Server 2.2.6 (ver 2.2.6Cc)" entry. 4. Pull down the "Software" menu and select "Remove Software". NOTE: Select Continue when warned about dependencies on: PHP 5.2.3 Hypertext Processor ASP Support for Apache/Perl AxKit XML Toolkit for Apache/perl Secure Sockets Layer (SSL) Support for Apache Perl Support for Apache Docview Documentation Server (Some of the entries will be listed multiple times). These dependencies are listed because the Apache 1.3.37 server also installed versions of these packages, which were then upgraded by the Apache 2.2.6 installation. Removing the Apache 2.2.6 Server will remove the upgraded versions of these packages, and leave your system with the original versions that were installed with Apache 1.3.37 5. Once the removal finishes, quit the Software Manager.