You are not logged in.
Hi
I set up lighttpd to point to "example.org/gitweb" like this:
url.redirect += ( "^/gitweb$" => "/gitweb/" )
alias.url += ( "/gitweb/" => "/usr/share/git/gitweb/" )
$HTTP["url"] =~ "^/gitweb/" {
cgi.assign = (".cgi" => "")
server.indexfiles = ("gitweb.cgi")
}this works, but I now want my git in "git.example.org"
I tried this, but it did not work:
$HTTP["host"] =~ "git.example.org" {
server.document-root = "/usr/share/git/gitweb/"
cgi.assign = (".cgi" => "")
server.indexfiles = ("gitweb.cgi")
}I did set an A record for "git" in my DNS (but how can I test if that works?)
Offline