<Directory /usr/share/gitweb> Options FollowSymLinks +ExecCGI AddHandler cgi-script .cgi </Directory> AliasMatch ^/(git-favicon\.png|git-logo\.png|gitweb\.css|gitweb\.js)$ /usr/share/gitweb/static/$1 AliasMatch ^/gitweb(/.*)?$ /usr/share/gitweb/index.cgi$1