On Thu, Aug 01, 2013 at 12:28:21AM -0700, Jeanluca wrote:
> I've setup lighttpd and gitweb. Created an empty repository as follows:
>     $server> git --version
>     git version
>     $server> git --bare init p1
>     $server> cd p1
>     $server> git update-server-info
>     $server> cd ..
>     $server> chown -R lighttpd:lighttpd p1
> In the browser I can browse this repository, but when I try to clone it 
> from the command line I get:
>     $> git clone https://example.com/git/project.git p1
>     Cloning into 'p1'...
>     fatal: 
> https://example.com/git/project.git/info/refs?service=git-upload-pack not 
> found: did you run git update-server-info on the server?
> And, maybe it helps, here is my lighttpd configuration
>     alias.url += (
>       "/static/gitweb.css"      => "/var/www/git/static/gitweb.css",
>       "/static/git-logo.png"    => "/var/www/git/static/git-logo.png",
>       "/static/git-favicon.png" => "/var/www/git/static/git-favicon.png",
>       "/static/gitweb.js"       => "/var/www/git/static/gitweb.js",
>       "/git"                    => "/var/www/git/gitweb.cgi"
>     )
> I did run 'git update-server-info', without success!
> Any suggestions ?

I've never tried to set up gitweb, but I have successfully set up git
behind a lighttpd server.  Maybe the discussion on doing that can
provide you with some tips or insights?


Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: mag...@therning.org   jabber: mag...@therning.org
twitter: magthe               http://therning.org/magnus

Most software today is very much like an Egyptian pyramid with
millions of bricks piled on top of each other, with no structural
integrity, but just done by brute force and thousands of slaves.
     -- Alan Kay

Attachment: pgpWq17iF9erd.pgp
Description: PGP signature

Reply via email to