/etc/httpd/conf.d/welcome.conf - CentOS Linux 6

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

It is located under: /etc/httpd/conf.d/welcome.conf

    # 
# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL.  To disable the Welcome page, comment
# out all the lines below.
#
<LocationMatch "^/+$">
    Options -Indexes
    ErrorDocument 403 /error/noindex.html
</LocationMatch>


    
  

Config Details

Location
/etc/httpd/conf.d/welcome.conf
Operating system
CentOS Linux 6
Length
11 lines
MD5 checksum
98540d3009ecc6435d8770c24a71258a

Usage

Download the raw file with wget or curl

Wget

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

cURL

curl http://exampleconfig.com/static/raw/apache/centos6/etc/httpd/conf.d/welcome.conf > welcome.conf.example