diff options
Diffstat (limited to 'modules/cgit/templates/vhost.conf')
-rw-r--r-- | modules/cgit/templates/vhost.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/cgit/templates/vhost.conf b/modules/cgit/templates/vhost.conf index c33efe84..9beab703 100644 --- a/modules/cgit/templates/vhost.conf +++ b/modules/cgit/templates/vhost.conf @@ -1,2 +1,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] |