Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
1 result tagged lighthttp  ✕
Git smart HTTP transport on lighttpd - toofishes.net http://www.toofishes.net/blog/git-smart-http-transport-lighttpd/
Thu Nov 15 00:20:51 2012 archive.org
QRCode
thumbnail

Je me suis inspiré de cet article afin de configurer le serveur lighthttpd présent sur mon NAS afin qu'il me permette de gérer mes GIT perso à distance ;)

voila ce qu'il faut ajouter pour fun_plug dans lighthttp.conf :

alias.url += ( "/git" => "/ffp/libexec/git-core/git-http-backend")

prevent a request to "/git" from causing a 500 error (no PATH_INFO)

url.rewrite-once = ( "^/git$" => "/git/" )
$HTTP["url"] =~ "^/git" {

turn on CGI unconditionally for this URL

    cgi.assign = ( "" => "" )
    setenv.add-environment = (
      "GIT_PROJECT_ROOT" => "/ffp/home/root/fun_plug",
      "GIT_HTTP_EXPORT_ALL" => ""
    )

}

ffp fun_plug git clone http lighthttp
4759 links, including 1673 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn