root@debian-home-server:/usr/lib/cgi-bin# cat /etc/apache2/conf.d/gitweb
Alias /gitweb /usr/share/gitweb
ServerName git.makesite.home
HostnameLookups On
UseCanonicalName Off
ServerSignature Off
<Directory /usr/share/gitweb>
Options FollowSymLinks +ExecCGI
AddHandler cgi-script .cgi
AllowOverride all
Options Indexes FollowSymlinks
Order Allow,Deny
Allow From All
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^.* /gitweb.cgi/$0 [L,PT]
</Directory>
root@debian-home-server:/usr/lib/cgi-bin# cat /etc/gitweb.conf
# path to git projects (<project>.git)
$projectroot = "/root/scripts/bash/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.css";
# javascript code for gitweb
$javascript = "gitweb.js";
# logo to use
$logo = "git-logo.png";
# the 'favicon'
$favicon = "git-favicon.png";
При заходе на сервер пишет «You don't have permission to access /gitweb/index.cgi on this server.» . При настройках по умолчанию показывал страницу в стиле gitweb и надписью в центре «page not found ». Права на папку с проектом и cgi скрипты выставлены на rwx Куда рыть?