Skip to content

Commit 4711975

Browse files
committed
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.
1 parent 937f5eb commit 4711975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/04-git-server/sections/gitweb.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Now, you need to make Apache use CGI for that script, for which you can add a Vi
5656
ServerName gitserver
5757
DocumentRoot /var/www/gitweb
5858
<Directory /var/www/gitweb>
59-
Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch
59+
Options +ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch
6060
AllowOverride All
6161
order allow,deny
6262
Allow from all

0 commit comments

Comments
 (0)