diff options
Diffstat (limited to 'modules/cgit')
-rw-r--r-- | modules/cgit/templates/vhost.conf | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/cgit/templates/vhost.conf b/modules/cgit/templates/vhost.conf index 9beab703..d2385084 100644 --- a/modules/cgit/templates/vhost.conf +++ b/modules/cgit/templates/vhost.conf @@ -1,10 +1,7 @@ Alias /cgit-data /usr/share/cgit -ScriptAlias / /var/www/cgi-bin/cgit +ScriptAliasMatch ^(.*) /var/www/cgi-bin/cgit$1 <Directory /usr/share/cgit> Order allow,deny Allow from all </Directory> - -RewriteEngine On -RewriteRule ^(.*)$ /?url=$1 [L,QSA] |