On Mon, May 3, 2010 at 3:51 PM, Michael Rack <[email protected]> wrote: > Strange UPDATE (Please take a seat) ;-) > > I have checkouted the SVN Trunk of mod_fcgid, compiled and installed. > > Now there is a very strange behavior. > > I still get the 500 Internal Sever Error, but suexec shows up the line that > the cgi was called and run with UID 2000/system. > > /usr/apache/logs/error_log drive crazy! I can see the output of my CGI-File > there!
When the FastCGI app starts up *initially*, stdout and stderr are the main server error log. The FastCGI programming library used by the app will presumably reroute stdout and stderr to the FastCGI pipe while processing a client connection. Are you seeing error messages or a normal HTTP response? > The errorlog /opt/vhosts/admin.rsm-freilassing.de/logs/error_log contains > the same lines as before "(104) Connection reset by peer: mod_fcgid: error > reading data from FastCGI server". > > What the hell is going on? The script doesn't realize its running in FastCGI mode, never responds on the FastCGI pipe? What is this script? Has it been coded to handle both CGI and FastCGI?
