<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/
+
<Location /cgi-bin/cgit.cgi>
- Allow from All
+ Require all granted
</Location>
# Version 2: cgit as a handler to whole vhost:
# DocumentRoot /usr/lib/cgi-bin/cgit.cgi
# <Location />
# Options ExecCGI
-# Allow from All
+# Require all granted
# </Location>
#</VirtualHost>