Welcome! Log In Create A New Profile



December 02, 2011 08:46AM

I am having a hard time getting cgi (gitweb) to work.
That's the relefvant part of my config:

location ~ /git(/.*)
include /etc/nginx/fastcgi_params;

fastcgi_pass unix:/var/run/fcgiwrap.socket;
fastcgi_index gitweb.cgi;

fastcgi_param GITWEB_CONFIG /etc/gitweb.conf;
fastcgi_param SCRIPT_FILENAME /usr/lib/cgi-bin/gitweb.cgi;

That's nginx output:

2011/12/02 13:40:37 [error] 6046#0: *1 FastCGI sent in stderr: "Cannot get script name, is DOCUMENT_ROOT and SCRIPT_NAME set and is the script executable?" while reading response header from upstream,

I am using debian squeeze. Any idea what I am doing wrong?
Subject Author Posted


CGIMan December 02, 2011 08:46AM

Re: gitweb

Francis Daly December 02, 2011 04:30PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready