From 4711975edad4140e8487f56050dee1c1761489b4 Mon Sep 17 00:00:00 2001 From: Tyler Cipriani Date: Thu, 6 Jul 2017 14:41:56 -0600 Subject: [PATCH] Update gitweb apache example for apache2.4 In apache2.4 mixing `Options` with a `+` or a `-` with those without will cause startup to abort. This patch updates the example gitweb apache virtualserver to a valid configuration for apache2.4. --- book/04-git-server/sections/gitweb.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/04-git-server/sections/gitweb.asc b/book/04-git-server/sections/gitweb.asc index c135804cc..b0c4572df 100644 --- a/book/04-git-server/sections/gitweb.asc +++ b/book/04-git-server/sections/gitweb.asc @@ -56,7 +56,7 @@ Now, you need to make Apache use CGI for that script, for which you can add a Vi ServerName gitserver DocumentRoot /var/www/gitweb - Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch + Options +ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch AllowOverride All order allow,deny Allow from all