Starting And Stopping Httpd - Red Hat LINUX 7.2 Reference Manual

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

Section 13.2:Starting and Stopping httpd
mod_define
mod_auth_dbm
mod_auth_db
mod_digest
mod_proxy
mod_cern_meta
mod_usertrack
mod_example
mod_unique_id
The following modules are available by installing additional packages:
mod_ssl
mod_auth_any
mod_auth_mysql
mod_auth_pgsql
mod_bandwidth
mod_dav
mod_perl
mod_php4
mod_put
mod_python
mod_roaming
mod_throttle

13.2 Starting and Stopping httpd

During the installation process, a Bourne shell script named httpd was saved in
/etc/rc.d/init.d. To manually stop and start your server, run httpd with either stop or
start as an argument.
To start your server, type the command:
/etc/rc.d/init.d/httpd start
If you are running Apache as a secure server, you will be prompted to fill in your password. After you
type it in, your server will start.
To stop your server, type the command:
/etc/rc.d/init.d/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 Apache as a secure server. The restart command looks like the following:
/etc/rc.d/init.d/httpd restart
193

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents