Apache Http Server Configuration - Red Hat ENTERPRISE LINUX 5 - DEPLOYMENT Deployment Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - DEPLOYMENT:
Table of Contents

Advertisement

You can also stop httpd using /sbin/service httpd stop. The restart option is a shorthand
way of stopping and then starting the Apache HTTP Server.
You can restart the server as root by typing:
apachectl restart
or:
/sbin/service httpd restart
Apache will display a message on the console or in the ErrorLog if it encounters an error while
starting.
By default, the httpd service does not start automatically at boot time. If you would wish to have
Apache startup at boot time, you will need to add a call to apachectl in your startup files within the
rc.N directory. A typical file used is rc.local. As this starts Apache as root, it is recommended to
properly configure your security and authentication before adding this call.
You can also configure the httpd service to start up at boot time, using an initscript utility, such as /
sbin/chkconfig, /usr/sbin/ntsysv, or the Services Configuration Tool program.
You can also display the status of your httpd server by typing:
apachectl status
The status module mod_status however needs to be enabled in your httpd.conf configuration file
for this to work. For more details on mod_status can be found on
mod/mod_status.html.
Note
If running the Apache HTTP Server as a secure server, the secure server's password is
required after the machine boots when using an encrypted private SSL key.
You can find more information on

22.4. Apache HTTP Server Configuration

The HTTP Configuration Tool allows you to configure the /etc/httpd/conf/httpd.conf
configuration file for the Apache HTTP Server. It does not use the old srm.conf or access.conf
configuration files; leave them empty. Through the graphical interface, you can configure directives
such as virtual hosts, logging attributes, and maximum number of connections. To start the HTTD
Configuration Tool, click on System > Administration > Server Settings > HTTP.
Only modules provided with Red Hat Enterprise Linux can be configured with the HTTP
Configuration Tool. If additional modules are installed, they can not be configured using this tool.
Caution
Do not edit the /etc/httpd/conf/httpd.conf configuration file by hand if you wish
to use this tool. The HTTP Configuration Tool generates this file after you save your
Apache HTTP Server Configuration
http://httpd.apache.org/docs/2.2/
http://httpd.apache.org/docs/2.2/ssl
317

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?

Questions and answers

Table of Contents