summaryrefslogtreecommitdiffstats
path: root/setup/projects/katrin/files/etc/apache2-kaas-docker/extra/httpd-userdir.conf
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2017-04-02 08:05:51 +0200
committerSuren A. Chilingaryan <csa@suren.me>2017-04-02 08:05:51 +0200
commit035ab0212eede4c7ab894fa78b14da0fa6056ef4 (patch)
tree32e7d8c35b830b89bdb708013a67f343c71c5e57 /setup/projects/katrin/files/etc/apache2-kaas-docker/extra/httpd-userdir.conf
parent1744778d4ffb5183020a5196c7ea020b18e1436a (diff)
downloadands-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-docker/extra/httpd-userdir.conf')
-rw-r--r--setup/projects/katrin/files/etc/apache2-kaas-docker/extra/httpd-userdir.conf28
1 files changed, 28 insertions, 0 deletions
diff --git a/setup/projects/katrin/files/etc/apache2-kaas-docker/extra/httpd-userdir.conf b/setup/projects/katrin/files/etc/apache2-kaas-docker/extra/httpd-userdir.conf
new file mode 100644
index 0000000..567bd6d
--- /dev/null
+++ b/setup/projects/katrin/files/etc/apache2-kaas-docker/extra/httpd-userdir.conf
@@ -0,0 +1,28 @@
+# Settings for user home directories
+#
+# Required module: mod_userdir
+
+#
+# UserDir: The name of the directory that is appended onto a user's home
+# directory if a ~user request is received. Note that you must also set
+# the default access control for these directories, as in the example below.
+#
+UserDir public_html
+
+#
+# Control access to UserDir directories. The following is an example
+# for a site where these directories are restricted to read-only.
+#
+<Directory "/home/*/public_html">
+ AllowOverride FileInfo AuthConfig Limit Indexes
+ Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
+ <Limit GET POST OPTIONS>
+ Order allow,deny
+ Allow from all
+ </Limit>
+ <LimitExcept GET POST OPTIONS>
+ Order deny,allow
+ Deny from all
+ </LimitExcept>
+</Directory>
+