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:
https://ftp.scoexpert.com/openserver6/600/other/apache.2.2.6CcWhat 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 Recommendations1. 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 InstructionsPlease This release supplement has been designed to co-exist with Apache
Note: 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.Please Installation of this supplement does not overwrite the configuration
Note: 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/apache2before installing.To install Apache 2.2.6Cc follow these steps:
1. Login as root2. 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:https://ftp.scoexpert.com/openserver6/600/other/apache.2.2.6Ccto the directory created in step 2.
4. Extract the downloaded archive using:cd /tmp/apache2
tar xvf Apache-2.2.6Cc-VOLS.tar5. Run the Software Manager with the command:
scoadmin softwareor 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 Instructions1) 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.htmlwhere 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.confand for Apache 2.2.6 in the file:
/usr/lib/apache2/conf/httpd.confUsing your favorite text editor, edit one of these files, search for the line which looks like:
Port 80and 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 restartTo start Apache 2 (one time only), run the command:
/etc/apache2 startTo have Apache 2 start automatically whenever the machine is restarted, run the command:
/etc/apache2 enable2) Disabling Apache 1.3.37If you no longer wish Apache 1.3.37 to run when the system is started, run the command:
/etc/apache disablePlease SCO Documentation is currently served by Apache 1.3.37 using
Note: port 8457. Serving the documentation via Apache 2 requires
installation of OSS709a. This patch is available to download
from:https://ftp.scoexpert.com/openserver6/600/patches/oss709a3) Apache 2 ConfigurationApache 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.confsearch 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 restartto have your changes take effect.
-------------------------------------------------------------IV. Removal Instructions1. Log in as root.2. Execute the command:scoadmin softwareor 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".
Please Select Continue when warned about dependencies on:
Note:
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.
NOTES: Can Tomcat be download and run with Apache2?- Tomcat is available and supported with MP3 and is v4.1.31Na.
- Unsupported, versions of Tomcat, eg 5.5.26, will run with Apache2 and can be downloaded and installed with:
1. Download the 'core' and 'admin' tar.gz packages from:http://tomcat.apache.org/download-55.cgi2. gunzip and un-tar the packages. Put them into a directory,
for example, /local/tomcat.3. Edit tomcat-users.xml in:/local/tomcat/apache-tomcat-5.5.26/conf<?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="tomcat"/> <role rolename="role1"/> <role rolename="manager"/> <role rolename="admin"/> <user username="tomcat" password="tomcat" roles="tomcat"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/> <user username="admin" password="admin" roles="manager,admin"/> </tomcat-users>
4. Create an /etc/rc2.d/S99tomcat start-up script with:JRE_HOME=/usr/java export JRE_HOME
JAVA_HOME=/usr/java export JAVA_HOME
/local/tomcat/apache-tomcat-5.5.26/bin/startup.sh5. Then check Tomcat is running with:http://<server>:8080and that you can get into the Admin pages with the admin user "admin" and password "admin".