title: How do I have to configure gitweb and gitolite so they'll work together?
body: <p>I am trying to make gitweb work with gitolite... but unsuccessful so far.<br>
  I am working on a RedHat Linux machine. A user called <code>git</code> exists.</p>
  
  <p>gitolite is installed under: <code>/home/git</code><br>
  Repository location: <code>/home/git/repositories</code></p>
  
  <p>Please note that, gitweb was working fine with plain vanilla git. Now i am trying to make it work with gitolite. </p>
  
  <p>Here are what my files look like:</p>
  
  <ul>
  <li><p><code>/etc/gitweb.conf</code></p>
  
  <pre><code>$projectroot = "/home/git/repositories";
  @git_base_url_list = qw(ssh://[MyHostName]/home/git/projects.list);
  $projects_list = "/home/git/projects.list"
  </code></pre></li>
  <li><p><code>/home/git/projects.list</code></p>
  
  <pre><code>myrepo1.git
  myrepo2.git 
  </code></pre></li>
  <li><p><code>/home/git/.gitolite.rc</code>:</p>
  
  <pre><code>$PROJECTS_LIST = $ENV{HOME} . "/projects.list";
  $GL_GITCONFIG_KEYS = "gitweb.url receive.denyNonFastforwards receive.denyDeletes";
  </code></pre></li>
  </ul>
  
  <p>What configuration have I missed?
  I have not made any changes to Apache.</p>
  
  <p>Web URL: <code>http://MyHostName/git</code><br>
  This gives a 404 error saying - <em>No repositories found</em>.</p>