summaryrefslogtreecommitdiff
path: root/apache2/conf.d
diff options
context:
space:
mode:
authorroot <root@mail.bitbase.dk>2009-05-22 15:52:15 +0200
committerroot <root@mail.bitbase.dk>2009-05-22 15:52:15 +0200
commitb439db5f87124c0fe3afaa1aad961ede1e3e9723 (patch)
tree19f933f82966dc58a8793ae6ccc2867c7026e1fa /apache2/conf.d
parentddc0cd8da4a4a6c7607bf4f680e3283797c8872a (diff)
Update Apache2 userdir.conf snippet to match suppressed module default.
Diffstat (limited to 'apache2/conf.d')
-rw-r--r--apache2/conf.d/local-userdir.conf24
1 files changed, 15 insertions, 9 deletions
diff --git a/apache2/conf.d/local-userdir.conf b/apache2/conf.d/local-userdir.conf
index 90ea184..c30f10c 100644
--- a/apache2/conf.d/local-userdir.conf
+++ b/apache2/conf.d/local-userdir.conf
@@ -1,9 +1,15 @@
-<IfModule mod_userdir.c>
- UserDir public_html
- UserDir disabled root
-
- <Directory /home/*/public_html>
- AllowOverride FileInfo AuthConfig Limit
- Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
- </Directory>
-</IfModule>
+UserDir public_html
+UserDir disabled root
+
+<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>