X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcgit.git;a=blobdiff_plain;f=cgit-httpd.conf;fp=cgit-httpd.conf;h=84366dab8675fa2cf47de9872adc7ce812a980e8;hp=cc0b45ade3f662fd4676d065d1fccec907a13e76;hb=579c7c9de633fec4b5ca7dd2cee2a33ad8f746bd;hpb=6e6013969d0665bc1c4a2923270b00c08b8c3f45 diff --git a/cgit-httpd.conf b/cgit-httpd.conf index cc0b45a..84366da 100644 --- a/cgit-httpd.conf +++ b/cgit-httpd.conf @@ -1,13 +1,14 @@ AllowOverride None - Allow from All + Require all granted # Version 1 (default): under /cgi-bin/cgit.cgi address ScriptAlias /cgi-bin/cgit.cgi /usr/lib/cgi-bin/cgit.cgi Alias /cgit/ /usr/share/cgit/ + - Allow from All + Require all granted # Version 2: cgit as a handler to whole vhost: @@ -18,6 +19,6 @@ Alias /cgit/ /usr/share/cgit/ # DocumentRoot /usr/lib/cgi-bin/cgit.cgi # # Options ExecCGI -# Allow from All +# Require all granted # #