Re: gitweb problem

Ben Morrow <[email protected]> Sat, 25 Sep 2010 21:53:51 +0100
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
At 10AM +0100 on 25/09/10 you (Stephen Watson) wrote:
> I don't like git, and git doesn't like me, but we're using it for ROX-Filer
> and ROX-Lib so I have to deal with it.  The problem is since I switched to a
> 64 bit machine gitweb has stopped working.  If you go to
> http://kerofin.demon.co.uk/git/gitweb.cgi you'll find no projects listed,
> but I know there should be two.

Have you considered pushing to github? IME it works extremely well.

> Further more if I run gitweb directly
> 
> stephen@kerofin:~> /usr/share/git-web/gitweb.cgi 

(I wouldn't normally expect this to work with a CGI program.)

> Status: 200 OK
> Content-Type: text/html; charset=utf-8
> 
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
> <!-- git web interface version 1.6.4.2, (C) 2005-2006, Kay Sievers
> <[email protected]>, Christian Gierke -->
> <!-- git core binaries version 1.6.4.2 -->
> <head>
> 
> ...snip...
> 
> <input type="text" name="s"  />
> </p>
> </form>
> fatal: Not a git repository: '/srv/git/rox-lib'
> fatal: Not a git repository: '/srv/git/rox-filer'
> <table class="project_list">
> <tr>
> <th>Project</th>
> <th><a class="header" href="?o=descr">Description</a></th>
> <th><a class="header" href="?o=owner">Owner</a></th>
> <th><a class="header" href="?o=age">Last Change</a></th>
> <th></th>
> </tr>
> </table>
> ...etc.
> 
> But if I run gtik in /srv/git/rox-filer it works fine.  Even more bizzarely,
> but running gitweb slightly differently, it works:
> 
> stephen@kerofin:/srv/git/rox-filer> /usr/bin/perl
> /usr/share/git-web/gitweb.cgi 

Is gitweb.cgi installed setid?

You're running this from a different directory; does this make a
difference?

Ben


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev