Starting And Stopping - Red Hat ENTERPRISE LINUX 3 Reference Manual

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

Chapter 10. Apache HTTP Server
Apache HTTP Secure Server refer to the chapter titled Apache HTTP Secure Server Configuration in
the Red Hat Enterprise Linux System Administration Guide.
Note
Red Hat, Inc. does not ship FrontPage extensions as the Microsoft™ license prohibits the inclusion
of these extensions in a third party product. More information about FrontPage extensions and the
Apache HTTP Server can be found online at http://www.rtr.com/fpsupport/.

10.4. Starting and Stopping

The
RPM installs the
httpd
command.
/sbin/service
To start the server, as root type:
/sbin/service httpd start
To stop the server, as root type:
/sbin/service httpd stop
The
option is a shorthand way of stopping and then starting the Apache HTTP Server.
restart
To restart the server, as root type:
/sbin/service httpd restart
Note
If running the Apache HTTP Server as a secure server, it may be necessary to type the server
password whenever using the
After editing the
httpd.conf
Instead, use the
reload
To reload the server configuration file, as root type:
/sbin/service httpd reload
Note
If running the Apache HTTP Server as a secure server, the server password is not required when
using the
reload
By default, the
httpd
service to start up at boot time, use an initscript utility, such as
httpd
/etc/init.d/httpd
or
start
file, however, it is not necessary to explicitly stop and start the server.
option.
option.
service does not start automatically at boot time. To configure the
script, which can be accessed using the
options.
restart
/sbin/chkconfig
137
httpd
, /sbin/ntsysv, or

Advertisement

Table of Contents
loading

Table of Contents