disable selinux
# echo 0 > /selinux/enforcenope ...
look around ...
nope ...
read Perl and carp print debug ...
nope ...
create a projects list
# cd /data/software/git # ./create_project_list.sh > projects.list
with the following script
# cat create_project_list.sh #!/bin/sh export GITWEB_CONFIG="gitweb_make_index.perl" export GATEWAY_INTERFACE="CGI/1.1" export HTTP_ACCEPT="*/*" export REQUEST_METHOD="GET" export QUERY_STRING="a=project_index" #perl -- /var/www/cgi-bin/gitweb.cgi perl -- /usr/share/gitweb/index.cgiand adjust /etc/gitweb.conf
# grep projects.list /etc/gitweb.conf #$projects_list = $projectroot; $projects_list = "/data/software/git/projects.list";nope ...
check out what was wrong
# ls -l / |grep data drwx------ 10 root root 4096 Mar 27 19:33 dataI am silly for doing it at the first place ( can see where in history ) and for complicating the debugging
# chmod 755 /datait works.
Classic overcomplication.
KISS when debugging