Re: gitweb testing with non-apache web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found that lighttpd works well, though the configuration was a
little more complex.

The recipe that works well is to make the URL

  http://server/git

to the gitweb.cgi script.  I put the script and the CSS file in a
directory, /var/lib/git/, and then put the following into the lighttpd
configuration:

  # Serve GIT
  url.redirect    = ( "^/git$" => "/git/" )
  alias.url       += ( "/git/" => "/var/lib/git/" )
  $HTTP["url"]    =~ "^/git/" {
    cgi.assign            = ( ".cgi" => "" )
    index-file.names      = ( "gitweb.cgi" )
  }

Cheers.
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]