Re: [git-users] setup git server/web with lighttpd: gives …git-upload-pack not found
On Sun, Aug 11, 2013 at 01:22:29PM +0200, Lucas Calje wrote: > thnx, the solution discussed there worked for me! Glad to hear it helped you. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus Perl is another example of filling a tiny, short-term need, and then being a real problem in the longer term. -- Alan Kay pgpSPiy3r1mVy.pgp Description: PGP signature
Re: [git-users] setup git server/web with lighttpd: gives …git-upload-pack not found
thnx, the solution discussed there worked for me! 2013/8/8 Magnus Therning > 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 1.7.11.7 > > $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-packnot > > 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? > http://comments.gmane.org/gmane.comp.version-control.git/220551 > > /M > > -- > 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 -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] setup git server/web with lighttpd: gives …git-upload-pack not found
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 1.7.11.7 > $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? http://comments.gmane.org/gmane.comp.version-control.git/220551 /M -- 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 pgpWq17iF9erd.pgp Description: PGP signature
[git-users] setup git server/web with lighttpd: gives …git-upload-pack not found
I've setup lighttpd and gitweb. Created an empty repository as follows: $server> git --version git version 1.7.11.7 $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 ? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.