Installation guide
188 Chapter 14. Apache HTTP Server
Note
Red Hat, Inc. does not ship FrontPage extensions as the Microsoft™ license prohibits the inclusion
of these extensions in a third party product. To find out more about FrontPage extensions and the
Apache HTTP Server, refer to http://www.rtr.com/fpsupport/.
14.4. Starting and Stopping httpd
The the httpd RPM installs the /etc/rc.d/init.d/httpd Bourne script, which is accessed using
the /sbin/service command.
To start your server, as root type:
/sbin/service httpd start
Note
If you are running the Apache HTTP Server as a secure server, you will be prompted to type your
password.
To stop your server, type the command:
/sbin/service httpd stop
The command restart is a shorthand way of stopping and then starting your server. The restart
command explicitly stops and then starts your server. You will be prompted for your password if
you are running the Apache HTTP Server as a secure server. The restart command looks like the
following:
/sbin/service httpd restart
If you just finished editing something in your httpd.conf file, you do not need to explicitly stop and
start your server. Instead, you can use the reload command.
Note
If you are running the Apache HTTP Server as a secure server, you will not need to type your
password when using the reload option as the password will remain cached across reloads.
The reload command looks like the following example:
/sbin/service httpd reload
By default, the httpd process will not start automatically when your machine boots. You will
need to configure the httpd service to start up at boot time using an initscript utility, such as
/sbin/chkconfig, /sbin/ntsysv, or the Services Configuration Tool program.
Please refer to the chapter titled Controlling Access to Services in Official Red Hat Linux Customiza-
tion Guide for more information regarding these tools.