title: Configuring GitWeb  - 404 - No projects found
body: <p>I'm configuring gitweb in my system via Apache in OpenSUSE (non-virtual host). However, I get the following error: <code>404 - No projects found</code>.</p>
  
  <p>/etc/gitweb.conf</p>
  
  <pre><code># path to git projects (&lt;project&gt;.git)
  $projectroot = "/home/zhijian/gitweb";
  
  # 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 = "/gitweb/static/indextext.html";
  
  # file with project list; by default, simply scan the projectroot dir.
  $projects_list = $projectroot;
  
  # stylesheet to use
  $stylesheet = "/gitweb/static/gitweb.css";
  
  # logo to use
  $logo = "/gitweb/static/git-logo.png";
  
  # the 'favicon'
  $favicon = "/gitweb/static/git-favicon.png";
  </code></pre>
  
  <p>/etc/apache2/conf.d/gitweb.conf</p>
  
  <pre><code>Alias /gitweb "/home/zhijian/gitweb"
  
  &lt;Directory "/home/zhijian/gitweb"&gt;
      Options +Indexes +ExecCGI +FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
      AddHandler cgi-script .cgi
      DirectoryIndex gitweb.cgi
  
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I added a soft link in the gitweb folder to link gitweb.cgi and the static folder. The Apache error log shows <code>gitweb.cgi: Can't opendir(/home/zhijian/gitweb): Permission denied</code>, but the permissions on the gitweb folder has been set to 755. Does anybody have an idea what might be causing this issue?</p>