diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2013-11-24 20:17:01 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-25 14:08:19 -0600 |
commit | 1d048cb81c1eaeac61ee151bb9fa2458870024c3 (patch) | |
tree | fb682c80bea61fcfacadab41aba49f24def32dd3 /development/cgit/config/cgit-lighttpd.conf | |
parent | 2d46d325edead9a0adefc8f508377be0c8a00436 (diff) |
development/cgit: Fixes for httpd-2.4.x and allow custom DOCROOT
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 fc49e5763f..ce7ccced54 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" => "", ) } |