aboutsummaryrefslogtreecommitdiffstats
path: root/modules/cgit/templates/vhost.conf
blob: 9beab7034ceabb2a9a47a26d5f6dff205ff1760c (plain)
1
2
3
4
5
6
7
8
9
10
Alias /cgit-data /usr/share/cgit
ScriptAlias / /var/www/cgi-bin/cgit

<Directory /usr/share/cgit>
    Order allow,deny
    Allow from all
</Directory>

RewriteEngine On
RewriteRule ^(.*)$ /?url=$1   [L,QSA]