arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone

Blame SOURCES/welcome.conf

28b219
# 
28b219
# This configuration file enables the default "Welcome" page if there
28b219
# is no default index page present for the root URL.  To disable the
28b219
# Welcome page, comment out all the lines below. 
28b219
#
28b219
# NOTE: if this file is removed, it will be restored on upgrades.
28b219
#
28b219
<LocationMatch "^/+$">
28b219
    Options -Indexes
28b219
    ErrorDocument 403 /.noindex.html
28b219
</LocationMatch>
28b219
28b219
<Directory /usr/share/httpd/noindex>
28b219
    AllowOverride None
28b219
    Require all granted
28b219
</Directory>
28b219
28b219
Alias /.noindex.html /usr/share/httpd/noindex/index.html