Alias /static /usr/share/gitweb/static/

AddDefaultCharset UTF-8

<Directory /srv/git>
	Options FollowSymLinks
	AllowOverride None
	Order allow,deny
	allow from all
</Directory>

<Directory /usr/lib/cgi-bin>
	Options ExecCgi FollowSymLinks
	AllowOverride None
	Order allow,deny
	allow from all
</Directory>


<Directory /usr/share/gitweb>
	Options None
	AllowOverride None
	Order allow,deny
	allow from all
</Directory>

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]