diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2017-04-02 08:05:51 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2017-04-02 08:05:51 +0200 |
commit | 035ab0212eede4c7ab894fa78b14da0fa6056ef4 (patch) | |
tree | 32e7d8c35b830b89bdb708013a67f343c71c5e57 /setup/projects/katrin/files/etc/apache2-kaas-centos/conf.d/welcome.conf | |
parent | 1744778d4ffb5183020a5196c7ea020b18e1436a (diff) | |
download | ands-035ab0212eede4c7ab894fa78b14da0fa6056ef4.tar.gz ands-035ab0212eede4c7ab894fa78b14da0fa6056ef4.tar.bz2 ands-035ab0212eede4c7ab894fa78b14da0fa6056ef4.tar.xz ands-035ab0212eede4c7ab894fa78b14da0fa6056ef4.zip |
Support pod variants, i.e. one of the specified pods will be actually configured depending on the inventory/group parameters
Diffstat (limited to 'setup/projects/katrin/files/etc/apache2-kaas-centos/conf.d/welcome.conf')
-rw-r--r-- | setup/projects/katrin/files/etc/apache2-kaas-centos/conf.d/welcome.conf | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/setup/projects/katrin/files/etc/apache2-kaas-centos/conf.d/welcome.conf b/setup/projects/katrin/files/etc/apache2-kaas-centos/conf.d/welcome.conf new file mode 100644 index 0000000..34b4b72 --- /dev/null +++ b/setup/projects/katrin/files/etc/apache2-kaas-centos/conf.d/welcome.conf @@ -0,0 +1,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 /opt/rh/httpd24/root/usr/share/httpd/noindex> + AllowOverride None + Require all granted +</Directory> + +Alias /.noindex.html /opt/rh/httpd24/root/usr/share/httpd/noindex/index.html |