NCSA HTTPd is available as precompiled distributions and binaries for systems we have access to.
There is also a new SingleClick Download and Configure for easy access to NCSA HTTPd.
If you already have NCSA HTTPd 1.4 running, you may update the HTTPd binary without the new support files.
Note: There are several new support files for the new authorization types, as well as examples of many of the other new features in the configuration files, so you might want to retrieve the support files anyways. A step-by-step guide on how to update the old server is available.
If your system is not on this list, or if you feel more comfortable doing so, you must compile a binary.
Unless you have redefined their locations in the server configuration file, you will have to move the following files and directories into ServerRoot:
httpd
: The server itself
conf
: Configuration files
logs
: Access log and error log
support
: Support programs
cgi-bin
: Server scripts
src/Makefile
and src/config.h
of the distribution. These files are fairly well documented.
There are three configuration files which control
Server Configuration,
Resource Configuration, and
Access Control. You should look
at and modify the files conf/httpd.conf-dist
,
conf/srm.conf-dist
and conf/access.conf-dist
which come with the distribution so that they are correct for your
server.
cgi-bin/
directory
you defined in your Server Resource
Configuration File.
httpd
at the command line. Note: You must be root
in order to use a port less than 1024. You may need to
use one of the command line options to override the compile time
paths to the configuration files. The flags are:
Usage: httpd [-d directory] [-f file] [-v] -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -v : version information (this screen)If you are installing the server as root, you will probably want to automatically start HTTPd when the machine boots. This can be done through modifications to various /etc/rc* or /etc/init.d/* files, depending on your system.
If you are running the server from inetd
, you need
to edit the OS system files.
If you have problems starting your server, check out the
FAQ
If you have completed these steps, Your server is ready to go.
Before you run off to play with your new toy, please read this guide to referencing files on your server.