summaryrefslogtreecommitdiffstats
path: root/welcome.conf
blob: 5d1e452842545f8a55db0d6d602b2033b758898d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 
# 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