|
|||||||||
![]() |
|
Running standaloneIf the Web server is started when the system is booted the server command line generally has to be put into one of the system's startup files. The names and structure of these files vary considerably from system to system. You may need to refer to your own system documentation to determine the precise details. On UNIX systems the start-up files are referred to as rc files; local additions to standard UNIX services are usually started from a file named /etc/rc.local, /etc/rc.2/S90local or something very similar, and this is where the command line to start the Web server should go.
The precise server command line depends on the server in use, but will
usually specify the location of a configuration file and possibly the
port number to use. More details can be found in
Section
# Start CERN Web server if [ -x /usr/local/etc/httpd ]; then echo "Starting WWW server" /usr/local/etc/httpd -p 80 -r /usr/local/etc/httpd.conf & fi The command to start the server is often included in a conditional statement which checks that the server program exists, as shown above.
![]() ![]() ![]() ![]() ![]() Next: Running from the Up: Server start-up mechanism Previous: Server start-up mechanism
|
||||||
Copyright © 1996-2002 Ford & Mason Ltd |
![]() |