From 2e3d299e769b594735f1208bc615c1fb66dabb82 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 14 Jan 2015 17:18:57 -0800 Subject: [PATCH] switch to using Require all granted from old Options allow,deny --- examples/apache.conf | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/examples/apache.conf b/examples/apache.conf index 479c350..0c1315d 100644 --- a/examples/apache.conf +++ b/examples/apache.conf @@ -1,3 +1,4 @@ +# -*- mode: apache; -*- ServerName bugs.debian.org ServerAdmin owner@bugs.debian.org @@ -6,24 +7,17 @@ ErrorLog /var/log/apache2/debbugs-error.log CustomLog /var/log/apache2/debbugs-access.log combined - - Options FollowSymLinks - AllowOverride None - - - Options -Indexes +FollowSymLinks +MultiViews - AllowOverride Options - Order allow,deny - allow from all + Options Indexes SymLinksIfOwnerMatch MultiViews + DirectoryIndex index.en.html + Require all granted ScriptAlias /cgi-bin/ /var/lib/debbugs/www/cgi/ AllowOverride None - Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch - Order allow,deny - Allow from all + Options ExecCGI SymLinksIfOwnerMatch + Require all granted RewriteEngine on @@ -51,11 +45,4 @@ RewriteRule .* - [L] RewriteRule ^/([0-9]+)$ /cgi-bin/bugreport.cgi?bug=$1 [L,R,NE] RewriteRule ^/([^/]+)$ /cgi-bin/pkgreport.cgi?pkg=$1 [L,R,NE] - - - SetHandler perl-script - PerlHandler Apache::Registry - Options +ExecCGI - - -- 2.39.2