git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cannot git pull using http from my git.mycompany.com
@ 2008-11-21  1:13 Gary Yang
  2008-11-21  8:43 ` David Symonds
  2008-11-21  9:54 ` Andreas Ericsson
  0 siblings, 2 replies; 6+ messages in thread
From: Gary Yang @ 2008-11-21  1:13 UTC (permalink / raw)
  To: git


git pull http://git.mycompany.com/pub/git/u-boot.git HEAD
fatal: http://git.mycompany.com/pub/git/u-boot.git/info/refs not found: did you run git update-server-info on the server?

Below are related gitweb configs. What did I do wrong?


httpd.confg

<VirtualHost 10.66.4.168>
    ServerName svdcgit01
     DocumentRoot /pub/git
     <Directory /var/www/cgi-bin>
          Allow from all
          AllowOverride all
          Order allow,deny
          Options ExecCGI
          <Files gitweb.cgi>
               SetHandler cgi-script
          </Files>
     </Directory>
     DirectoryIndex /cgi-bin/gitweb.cgi
     SetEnv  GITWEB_CONFIG  /etc/gitweb.conf
#       RewriteEngine on
#       RewriteRule ^/(.*\.git/(?!/?(HEAD|info|objects|refs)).*)?$ /cgi-bin/gitweb.cgi%{REQUEST_URI}  [L,PT]


cat /etc/gitweb.conf
# path to git projects (<project>.git)
$projectroot = "/pub/git";

# directory to use for temp files
$git_temp = "/tmp";

# target of the home link on top of all pages
$home_link = $my_uri;

# html text to include at home page
$home_text = "indextext.html";

# file with project list; by default, simply scan the projectroot dir.
$projects_list = $projectroot;

# stylesheet to use
$stylesheet = "/gitweb/gitweb.css";

# logo to use
#$logo = "/git-logo.png";
$logo = "/gitweb/git-logo.png";

# the 'favicon'
$favicon = "/gitweb/git-favicon.png";

$projects_list_description_width = 60;
#$feature{'pathinfo'}{'default'} = [1];






      

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-22 11:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21  1:13 Cannot git pull using http from my git.mycompany.com Gary Yang
2008-11-21  8:43 ` David Symonds
2008-11-21 17:34   ` Gary Yang
2008-11-21  9:54 ` Andreas Ericsson
2008-11-21 20:04   ` How to setup a public reposistory? Gary Yang
2008-11-22 11:12     ` Andreas Ericsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).