Get the default configuration file welcome.conf for Apache, optimized for CentOS Linux 6. This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/httpd/conf.d/welcome.conf.
For more configurations and setup guides, visit our related files section to further customize your system.
#
# 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>
Download the raw file with wget or curl
wget -O welcome.conf.example https://exampleconfig.com/static/raw/apache/centos6/etc/httpd/conf.d/welcome.conf
curl https://exampleconfig.com/static/raw/apache/centos6/etc/httpd/conf.d/welcome.conf > welcome.conf.example
Other config files you might find useful