]> git.pld-linux.org Git - packages/cgit.git/blobdiff - cgit-httpd.conf
- updated to 0.9.1
[packages/cgit.git] / cgit-httpd.conf
index cc0b45ade3f662fd4676d065d1fccec907a13e76..84366dab8675fa2cf47de9872adc7ce812a980e8 100644 (file)
@@ -1,13 +1,14 @@
 <Directory /usr/share/cgit>
        AllowOverride None
 <Directory /usr/share/cgit>
        AllowOverride None
-       Allow from All
+       Require all granted
 </Directory>
 
 # 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/
 </Directory>
 
 # 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/
+
 <Location /cgi-bin/cgit.cgi>
 <Location /cgi-bin/cgit.cgi>
-       Allow from All
+       Require all granted
 </Location>
 
 # Version 2: cgit as a handler to whole vhost:
 </Location>
 
 # 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
 #      <Location />
 #              Options ExecCGI
 #      DocumentRoot /usr/lib/cgi-bin/cgit.cgi
 #      <Location />
 #              Options ExecCGI
-#              Allow from All
+#              Require all granted
 #      </Location>
 #</VirtualHost>
 #      </Location>
 #</VirtualHost>
This page took 0.047029 seconds and 4 git commands to generate.