Welcome! Log In Create A New Profile

Advanced

Re: otrs on nginx with fcgiwrap

Francis Daly
January 13, 2013 04:52PM
On Sun, Jan 13, 2013 at 10:39:14AM -0500, PascalTurbo wrote:

Hi there,

> I'm trying to run OTRS on Debian with nginx and fcgiwrap. But all I get is
> this error:
>
> 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,

All untested, but:

that message suggests that your fastcgi server (==fcgiwrap) uses
DOCUMENT_ROOT and SCRIPT_NAME to decide which file to process.

Which file do you want fcgiwrap to process?

What is DOCUMENT_ROOT? What is SCRIPT_NAME? Does combining them lead
you to that file?

Is that file executable?


It may be that switching to a fcgiwrap that uses SCRIPT_FILENAME is the
simplest fix for you.

Or maybe your fcgiwrap does already use SCRIPT_FILENAME, but it uses
the last one that it receives -- in that case putting your "include"
line before your "fastcgi_param" line may be sufficient.

You must match your nginx "fastcgi_param" configuration to whatever it
is that your fastcgi server requires. Your fastcgi server documentation
may give a better indication of what that is.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

otrs on nginx with fcgiwrap

PascalTurbo January 13, 2013 10:39AM

Re: otrs on nginx with fcgiwrap

Francis Daly January 13, 2013 04:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 296
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready