diff options
author | root <root@mail.bitbase.dk> | 2009-05-22 15:52:15 +0200 |
---|---|---|
committer | root <root@mail.bitbase.dk> | 2009-05-22 15:52:15 +0200 |
commit | b439db5f87124c0fe3afaa1aad961ede1e3e9723 (patch) | |
tree | 19f933f82966dc58a8793ae6ccc2867c7026e1fa | |
parent | ddc0cd8da4a4a6c7607bf4f680e3283797c8872a (diff) |
Update Apache2 userdir.conf snippet to match suppressed module default.
-rw-r--r-- | apache2/conf.d/local-userdir.conf | 24 |
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> |