diff options
Diffstat (limited to 'development/cgit/config/cgit-lighttpd.conf')
-rw-r--r-- | development/cgit/config/cgit-lighttpd.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/development/cgit/config/cgit-lighttpd.conf b/development/cgit/config/cgit-lighttpd.conf index fc49e5763f55..ce7ccced545a 100644 --- a/development/cgit/config/cgit-lighttpd.conf +++ b/development/cgit/config/cgit-lighttpd.conf @@ -6,15 +6,15 @@ $HTTP["host"] == "cgit.my.domain" { alias.url = ( - "/static/" => "/var/www/cgi-bin/", - "/cgit.cgi" => "/var/www/cgi-bin/cgit.cgi", + "/static/" => "@DOCROOT@/cgi-bin/", + "/cgit.cgi" => "@DOCROOT@/cgi-bin/cgit.cgi", ) url.rewrite-once = ( "^/static/.*$" => "$0", "^/([^?/]+/[^?]*)?(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2", ) cgi.assign = ( - "/var/www/cgi-bin/cgit.cgi" => "", + "@DOCROOT@/cgi-bin/cgit.cgi" => "", ) } |