From 79036ec190dcebdd2071083bfd783f579670f3da Mon Sep 17 00:00:00 2001
From: Bradley Nicholes This document explains how to install, configure and run
- Apache 2.0 under Novell NetWare 5.1 and above. If you find any bugs,
+ Apache 2.0 under Novell NetWare 6.0 and above. If you find any bugs,
or wish to contribute in other ways, please use our
bug reporting
page. Apache 2.0 is designed to run on NetWare 5.1 and above. If running on NetWare 5.1 you must install Service
- Pack 4 or above. If running on NetWare 6 you must install Service
- Pack 1 or above. Apache 2.0 is designed to run on NetWare 6.0 service pack 3
+ and above. If you are running a service pack less
+ than SP3, you must install the latest
+ NetWare Libraries
+ for C (LibC). NetWare service packs are available here. Apache 2.0 for NetWare can also be run in a NetWare 5.1 environment
+ as long as the latest service pack or the latest version
+ of the NetWare Libraries
+ for C (LibC) has been installed . WARNING: Apache 2.0
+ for NetWare has not been targeted for or tested in this environment.
There is no Apache install program for NetWare currently. You - will need to compile apache and copy the files over to the - server manually. An install program will be posted at a later - date.
+There is no Apache install program for NetWare currently. If you + are building Apache 2.0 for NetWare from source, you will need to + copy the files over to the server manually.
Follow these steps to install Apache on NetWare from the binary download (assuming you will install to @@ -81,8 +86,8 @@
httpd.conf file setting SYS:/APACHE2 to the search path, for example:
Follow these steps to install Apache on NetWare manually
from your own build source (assuming you will install to
- sys:/apache):
sys:/apache2):
Apache2 on a
NetWare volumeAPACHE2.NLM, APRLIB.NLM,
- HTDIGEST.NLM, HTPASSWD.NLM
+ APACHE2.NLM, APRLIB.NLM
to SYS:/APACHE2SYS:/APACHE2
+ called BINHTDIGEST.NLM, HTPASSWD.NLM,
+ HTDBM.NLM, LOGRES.NLM, ROTLOGS.NLM
+ to SYS:/APACHE2/BINSYS:/APACHE2
called CONFSYS:/APACHE2/CONF directory and rename to
HTTPD.CONFMIME.TYPES and MAGIC
- files to SYS:/APACHE2/CONF directoryMIME.TYPES, CHARSET.CONV and
+ MAGIC files to SYS:/APACHE2/CONF directory\HTTPD-2.0\DOCS\ICONS
to SYS:/APACHE2/ICONSApache may be installed to other volumes besides the default SYS volume.
During the build process, adding the keyword "install" to the makefile command line
+ will automatically produce a complete distribution package under the subdirectory
+ DIST. Install Apache by simply copying the distribution that was produced
+ by the makfiles to the root of a NetWare volume (see: Compiling Apache for
+ NetWare below).
This will load Apache into an address space called apache. +
This will load Apache into an address space called apache2. Running multiple instances of Apache concurrently on NetWare is possible by loading each instance into its own protected address space.
@@ -242,8 +259,8 @@Apache 2.0 for NetWare includes a set of command line directives that can
be used to modify or display information about the running instance of the
- web server. Each of these directives must be preceded by the keyword
- APACHE2:
APACHE2.
By default these directives are issued against the instance of Apache running + in the OS address space. To issue a directive against a specific instance running + in a protected address space, include the -p parameter along with the name of the + address space. For more information type "apache2 Help" on the command line.
+Apache is configured by files in the conf
- directory. These are the same as files used to configure the
- Unix version, but there are a few different directives for
+
Apache is configured by reading configuration files usually stored
+ in the conf directory. These are the same as files used
+ to configure the Unix version, but there are a few different directives for
Apache on NetWare. See the Apache
documentation for all the available directives.
Because Apache for NetWare is multithreaded, it does not - use a separate process for each request, as Apache does in some Unix + use a separate process for each request, as Apache does on some Unix implementations. Instead there are only threads running: a parent - thread, and a multiple child threads which handle the requests.
+ thread, and multiple child or worker threads which handle the requests. -So the "process"-management directives are different:
+Therefore the "process"-management directives are different:
The directives that accept filenames as arguments now
- must use NetWare filenames instead of Unix ones. However,
- because Apache uses Unix-style names internally, you must
- use forward slashes, not backslashes. It is recommended that all rooted
- file paths begin with a volume name. If omitted, Apache will
- assume the SYS: volume.
The directives that accept filenames as arguments must use
+ NetWare filenames instead of Unix names. However, because Apache
+ uses Unix-style names internally, forward slashes must be used
+ rather than backslashes. It is recommended that all rooted file paths
+ begin with a volume name. If omitted, Apache will assume the
+ SYS: volume which may not be correct.
access.conf):
+ the following:
Compiling Apache requires MetroWerks CodeWarrior 6.x or higher to
- be properly installed. Once Apache has been built, it needs to be
- installed on a NetWare volume's root directory. The default is the
- sys:/Apache2 directory.
Compiling Apache requires MetroWerks CodeWarrior 6.x or higher. Once
+ Apache has been built, it can be installed to the root of any NetWare
+ volume. The default is the sys:/Apache2 directory.
Before running the server you must fill out the conf
directory. Copy the file HTTPD-STD.CONF from the distribution
conf directory and rename it to HTTPD.CONF.
Edit the HTTPD.CONF file searching for all @@Value@@
markers and replacing them with the appropriate setting. Copy over
- the conf/magic and conf/mime.types files as well.
conf/magic and conf/mime.types files as well.
+ Alternatively, a complete distribution can be built by including the keyword
+ install when invoking the makefiles.
awk.exe.All major pieces of Apache and APR are built using the
- ApacheNW.mcp and LibAprNW.mcp project files.
- This includes modules such as status, info, proxy, etc.
NovellLibC to the
- location of the NetWare Libraries for C SDK, for example:
- MWCCNLM.exe, MWLDNLM.exe) has been
- included in the system's PATH environment variable.PATH environment variable.\httpd\srclib\apr\build and run the
- batch file prebuildnw.bat. The batch file will setup the build
- environment for building the APR libraries. It will also run 2 AWK scripts
- that will generate the export files for APR.\httpd\srclib\apr and extract the project
- file LIBAPRNW.mcp from the LIBAPRNW.mcp.zip file.LIBAPRNW.mcp project file in the Metrowerks IDE.GENURI.nlmGENURI.nlm to the SYS: volume
- of a NetWare server and run using the following command:
- SYS:\genuri > sys:\uri_delims.huri_delims.h to the directory
- \httpd\srclib\apr-util\uri on the build machine.APRLIB.nlm.
- \httpd\build and run the batch file
- prebuildnw.bat. This batch file will setup the build environment
- for building the APACHE.nlm. It will also run several AWK scripts
- that will generate the export files for APACHE.\http and extract the project file
- ApacheNW.mcp from the ApacheNW.mcp.zip file.ApacheNW.mcp project file in the Metrowerks IDE.GENCHARS.nlm and DFTABLES.nlm
- to the SYS: volume of a NetWare server and run using the following commands:
- SYS:\genchars > sys:\test_char.hSYS:\dftables > sys:\chartables.ctest_char.h and chartables.c
- to the directory \httpd\os\netware on the build machine.APACHE2.nlm
- along with all of the external module NLMs.C:\Program
Files\Metrowerks\CodeWarrior, you don't need to set this.LDAPSDK to the
+ location where you installed the LDAP Libraries for C, for example:
+ ZLIBSDK to the
+ location where you installed the source code for the ZLib Library,
+ for example:
+ AP_WORK to the full path of
- the \httpd directory.\httpd-2.0 directory.
APR_WORK to the full path of
- the \httpd\srclib\apr directory.\httpd-2.0\srclib\apr directory.
gmake.exe) have been included in the system's
@@ -539,7 +489,7 @@
\httpd\srclib\apr-util\uri and build
+ \httpd-2.0\srclib\apr-util\uri and build
GENURI.nlm by running "gmake -f nwgnumakefile".GENURI.nlm to the SYS: volume
@@ -548,15 +498,15 @@
uri_delims.h to the directory
- \httpd\srclib\apr-util\uri on the build machine.\httpd-2.0\srclib\apr-util\uri on the build machine.
- \httpd\srclib\apr and build APR
+ \httpd-2.0\srclib\apr and build APR
by running "gmake -f nwgnumakefile"\httpd\srclib\pcre and build
+ \httpd-2.0\srclib\pcre and build
DFTABLES.nlm by running "gmake -f nwgnumakefile"\httpd\server and build
+ \httpd-2.0\server and build
GENCHARS.nlm by running "gmake -f nwgnumakefile"GENCHARS.nlm and DFTABLES.nlm
@@ -569,9 +519,9 @@
test_char.h and chartables.c
- to the directory \httpd\os\netware on the build machine.\httpd-2.0\os\netware on the build machine.
- \httpd and build Apache by running
+ \httpd-2.0 and build Apache by running
"gmake -f nwgnumakefile". You can create a distribution directory by
adding an install parameter to the command, for example:
gmake -f nwgnumakefile\release destination directory.gmake -f nwgnumakefileBuilds release versions of all of the
+ binaries and copies them to a \release destination directory.
gmake -f nwgnumakefile DEBUG=1\debug destination directory.gmake -f nwgnumakefile DEBUG=1Builds debug versions of all of the
+ binaries and copies them to a \debug destination directory.
gmake -f nwgnumakefile installgmake -f nwgnumakefile installCreates a complete Apache
distribution with binaries, docs and additional support files in a
- \dist\Apache2 directory.
\dist\Apache2 directory.gmake -f nwgnumakefile installdevgmake -f nwgnumakefile installdevSame as install but also creates a
\lib and \include directory in the destination directory
- and copies headers and import files.
gmake -f nwgnumakefile cleangmake -f nwgnumakefile cleanCleans all object files and binaries
from the \release or \debug build areas depending on whether
- DEBUG has been defined.
DEBUG has been defined.
- gmake -f nwgnumakefile clobber_allgmake -f nwgnumakefile clobber_allSame as clean and also deletes + the distribution directory if it exists.