Alias /static /usr/share/gitweb/static/
AddDefaultCharset UTF-8
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
Options ExecCgi FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
Options None
AllowOverride None
Order allow,deny
allow from all
RewriteEngine on
RewriteRule ^/(gitweb/)?(gitweb\.css|gitweb\.js|git-favicon\.png|git-logo\.png)$ /usr/share/gitweb/$2 [last]
RewriteRule ^/(\?.*)?$ /usr/lib/cgi-bin/gitweb.cgi%{REQUEST_URI} [T=application/x-httpd-cgi,L,NS]