You are not logged in.
Pages: 1
anyone have these two working? tried following the wiki, but the config just keeps outputting parsing errors: http://redmine.lighttpd.net/projects/li … Howto_cgit
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
The page was last edited in Nov 09; I imagine the config syntax has changed since then.
This doesn't really answer your question, but gitweb works well with lighttpd.
Offline
I put cgit.png, cgit.css and the cgit executable (I named it cgit.cgi) in the htdocs dir and use the following with lighttpd 1.4.25 and cgit 0.8.3.1:
$HTTP["host"] == "cgit.example.com" {
url.rewrite-once = (
"^/(.*)\.(png|css)" => "$0",
"^/(.*)" => "/cgit.cgi/$1"
)
cgi.assign = (".cgi" => "")
}
This doesn't use fastcgi though.
Offline
anyone have these two working?
Here are my own Notes on lighttpd and cgit. In last cgit the syntax for defining groups has changed, and what I said about png files is no longer true since you can now define mimetypes.
You need to install an RTFM interface.
Offline
thanks guys!
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
ok so everything's working except that I keep getting a '/srv/git/uzume is not a git repo' error. any ideas?
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
If the directory is not a "bare" repo, you need to point to its .git directory.
Edit: Spelling
Last edited by snakebite (2010-02-06 20:21:34)
Offline
thanks
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
Pages: 1