[apache2] 01/01: Use 'Require method' instead of in userdir.conf

Stefan Fritsch sf at moszumanska.debian.org
Sat Jun 25 14:11:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to branch master
in repository apache2.

commit 056f857cb91934b2cac5f2458c9fe106195fdb0b
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sun Jun 5 23:15:01 2016 +0200

    Use 'Require method' instead of in userdir.conf
    
    Limit/LimitExcept is broken by design.
---
 debian/changelog                              | 1 +
 debian/config-dir/mods-available/userdir.conf | 7 +------
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0e7667c..d2aaa10 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ apache2 (2.4.20-3) UNRELEASED; urgency=low
   * Re-introduce mod_imagemap and mod_cern_meta. Closes: #786657
   * Set SHELL=/bin/bash during configure to get reproducible builds regardless
     of where /bin/sh points to.
+  * Use 'Require method' instead of Limit/LimitExcept in userdir.conf.
 
  -- Stefan Fritsch <sf at debian.org>  Sat, 28 May 2016 19:03:19 +0200
 
diff --git a/debian/config-dir/mods-available/userdir.conf b/debian/config-dir/mods-available/userdir.conf
index a6c0da6..2c334ec 100644
--- a/debian/config-dir/mods-available/userdir.conf
+++ b/debian/config-dir/mods-available/userdir.conf
@@ -5,12 +5,7 @@
 	<Directory /home/*/public_html>
 		AllowOverride FileInfo AuthConfig Limit Indexes
 		Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
-		<Limit GET POST OPTIONS>
-			Require all granted
-		</Limit>
-		<LimitExcept GET POST OPTIONS>
-			Require all denied
-		</LimitExcept>
+		Require method GET POST OPTIONS
 	</Directory>
 </IfModule>
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git



More information about the Pkg-apache-commits mailing list