Alias /cgit-data /usr/share/cgit ScriptAliasMatch ^(.*) /var/www/cgi-bin/cgit$1 <Directory /usr/share/cgit> Order allow,deny Allow from all </Directory>