/etc/sysconfig/httpd - CentOS Linux 6

This is the default example configuration of httpd provided by Apache. This config file was generated by Apache running on CentOS 6.

It is located under: /etc/sysconfig/httpd

    # Configuration file for the httpd service.

#
# The default processing model (MPM) is the process-based
# 'prefork' model.  A thread-based model, 'worker', is also
# available, but does not work with some modules (such as PHP).
# The service must be stopped before changing this variable.
#
#HTTPD=/usr/sbin/httpd.worker

#
# To pass additional options (for instance, -D definitions) to the
# httpd binary at startup, set OPTIONS here.
#
#OPTIONS=

#
# By default, the httpd process is started in the C locale; to 
# change the locale in which the server runs, the HTTPD_LANG
# variable can be set.
#
#HTTPD_LANG=C

#
# By default, the httpd process will create the file
# /var/run/httpd/httpd.pid in which it records its process
# identification number when it starts.  If an alternate location is
# specified in httpd.conf (via the PidFile directive), the new
# location needs to be reported in the PIDFILE.
#
#PIDFILE=/var/run/httpd/httpd.pid

    
  

Config Details

Location
/etc/sysconfig/httpd
Operating system
CentOS Linux 6
Length
31 lines
MD5 checksum
37ce05e329a15a6448efdb0c882f2077

Usage

Download the raw file with wget or curl

Wget

wget -O httpd.example http://exampleconfig.com/static/raw/apache/centos6/etc/sysconfig/httpd

cURL

curl http://exampleconfig.com/static/raw/apache/centos6/etc/sysconfig/httpd > httpd.example