Apache for OpenServer 5.0 is a robust, full-featured HTTP web server derived from the Apache Project open source server.
The following notes apply only to the supported Apache web server installation, Apache release 1.3.9, on OpenServer 5.0 systems. For notes on other Apache releases, specifically the Skunkware release of Apache, consult the relevant Skunkware documentation.
Software: | SCO OpenServer 5.0.4, 5.0.5, or greater |
RAM: | >64MB |
Disk Space: | 4MB free disk space |
Disk Space: | 1.5MB free disk space |
See your OpenServer 5.0 documentation for details.
If existing /htdocs and /cgi-bin directories are found
on the system, the Apache installation will not install its own web server
content. Otherwise, it builds up a default set of content from the
/htdocs-default
and /cgi-bin-default directories.
As an alternative, the /etc/apache script is provided.
This script also allows the server to be enabled to start on system boot.
See the apache(APACHE) manual page for details of how to use this
script.
If the Netscape FastTrack port 80 server is already running on the system, the Apache port 80 server will fail to start, and log the following type of message to its error log file:
[crit] (125)Address already in use: make_sock: could not bind to port 80In this case, either stop, or even disable, the FastTrack server before starting Apache, or move one or the other of the servers to a different port.
cd /usr/internet/ns_httpd/httpd-80To disable all instances of Netscape FastTrack and the Netscape Administration server, execute the following commands, as root:
./stop
mv start old.start
mv stop old.stop
cd /etc/rc2.dTo re-enable the servers, reverse these operations.
./S90fasttrack stop
mv S90fasttrack old.S90fasttrack
In general, both Apache and Netscape FastTrack can run together on a
single system, providing that they are not trying to listen on the same
network port or ports.
The following manual pages are available:
apache, ab, apachectl, apxs, dbmmanage, htdigest, htpasswd, httpd, logresolve, rotatelogs, and suexecYou can access these pages with the man(C) command when the documentation component of the product is installed.
file:/usr/internet/apache/htdocs-default/manualAlternatively, you can access the Apache documentation directly from the Apache organization, at http://apache.org.
On installation, if Apache determines that FrontPage is not present (that is, no directory /usr/local/frontpage exists), this FrontPage module is automatically disabled by default in the Apache httpd.conf configuration file.
The mod_frontpage module supplied with this release should function with both FrontPage 98 and FrontPage 2000.
DB and DBM are two distinct and complementary file formats for user
authentication databases in Apache. You may choose to use either
to create an authorization database for the server, and depending on which
you choose, you will need to make the corresponding configuration changes
for the server.
The standard Apache tool for managing DBM and DB authentication files is dbmmanage(APACHE). In this release, dbmmanage(APACHE) will work only if you have installed a version of Perl (for example, from Skunkware) on your system, and even then is only capable of managing DBM format authorization files.
To manage DB and DBM format authorization files, two small additional tools, dbfile and dbmfile, are provided. These tools may be found in the /usr/internet/apache/bin directory. The behave identically with respect to command line flags and input file format; the only difference is that one manages DB format files, and the other DBM format files.
DB format files are created exactly as specified by the argument to dbfile. DBM format files are actually pairs of files, having the extensions .pag and .dir.
The dbfile and dbmfile programs create or update an authorization database from a list of usernames and encrypted passwords that they reads from standard input (one pair per line, separated by whitespace). You can, for example, convert an existing .htpasswd authorization file into a DB format file called authfile.db, using the following command:
awk -F: '{ print $1 " " $2 }' < .htpasswd | \Input for dbfile and dbmfile can also be prepared manually, or using other system tools. If an input line contains a username only, that entry is deleted from the database. If the input line contains both a username and an encrypted password, that entry is either appended to the database, or used to replace the password if an entry for that username already exists.
/usr/internet/apache/bin/dbfile authfile.db
The -d option to dbfile and dbmfile allows you to view the contents of the database, by writing it to standard output. For example, to convert authfile.db from DB format into DBM format (files authfile.pag and authfile.dir):
/usr/internet/apache/bin/dbfile -d authfile.db | \There is no separate documentation for the dbfile and dbmfile utilities.
/usr/internet/apache/bin/dbmfile authfile
More information on the DB database file format may be obtained from http://www.sleepycat.com.