<Directory /usr/share/gitweb>
AllowOverride None
- Allow from All
+ Require all granted
</Directory>
# Version 1 (default): under /cgi-bin/gitweb.cgi address
Alias /cgi-bin/static/ /usr/share/gitweb/static/
ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
<Location /cgi-bin/gitweb.cgi>
- Allow from All
+ Require all granted
</Location>
SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
# DirectoryIndex gitweb.cgi
# <Location />
# Options ExecCGI
-# Allow from All
+# Require all granted
# </Location>
# SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
#</VirtualHost>