/etc/httpd/conf.d/welcome.conf - Red Hat Enterprise Linux 8 (Ootpa)

This is the default example configuration of welcome.conf provided by Apache. This config file was generated by Apache running on RHEL 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.html
</LocationMatch>

<Directory /usr/share/httpd/noindex>
    AllowOverride None
    Require all granted
</Directory>

Alias /.noindex.html /usr/share/httpd/noindex/index.html
Alias /poweredby.png /usr/share/httpd/icons/apache_pb3.png
    
  

Config Details

Location
/etc/httpd/conf.d/welcome.conf
Operating system
Red Hat Enterprise Linux 8 (Ootpa)
Length
19 lines
MD5 checksum
94c55ccfe2ae0a48b1ff063eff2f4ca4

Usage

Download the raw file with wget or curl

Wget

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

cURL

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