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

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

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. 
# NOTE: if this file is removed, it will be restored on upgrades.
<LocationMatch "^/+$">
    Options -Indexes
    ErrorDocument 403 /noindex/index.html

<Directory /usr/share/httpd/noindex>
    Options MultiViews
    DirectoryIndex index.html

    AddLanguage en-US .en-US
    AddLanguage es-ES .es-ES
    AddLanguage zh-CN .zh-CN
    AddLanguage zh-HK .zh-HK
    AddLanguage zh-TW .zh-TW

    LanguagePriority en
    ForceLanguagePriority Fallback

    AllowOverride None
    Require all granted

Alias /noindex /usr/share/httpd/noindex


Config Details

Operating system
CentOS Linux 8
30 lines
MD5 checksum


Download the raw file with wget or curl


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


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