Darcsweb
Config
I use an extra vhost for it:
Modify /etc/darcsweb/config.py:
1 2 3 4 5 6 7 8 9 |
class base:
# location of the darcs logo
darcslogo = "darcs.png"
# location of the darcs favicon
darcsfav = "minidarcs.png"
# the CSS file to use
cssfile = 'style.css'
|
lighttpd config part:
1 2 3 4 5 6 7 8 9 10 |
$HTTP["host"] == "darcsweb.example.com" {
# disable other handlers
compress.filetype = ()
fastcgi.server = ()
server.document-root = "/usr/share/darcsweb"
url.rewrite = ( "^/$" => "/darcsweb.cgi" )
alias.url = ( "/darcsweb.cgi" => "/usr/lib/cgi-bin/darcsweb.cgi" )
cgi.assign = ( "/usr/lib/cgi-bin/darcsweb.cgi" => "" )
}
|