RE: FastCGI problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Lavi wrote:
Caveat: I have no direct experience with Ruby, Plesk, or FastCGI.

I do think that by verifying that your example RoR app works via Apache
and then observing that the other database RoR app does not, you've
isolated the problem to the latter application!

"Premature end of script headers" is what I've seen whenever a PERL CGI
crashes or generates an error condition that doesn't let it output
anything (such as a syntax error). At that point, I try running the CGI
directly from the command line to partially simulate what Apache tries
to execute, e.g.: perl whateverproblem.cgi -- but this is not always
identical to what Apache encounters, it's just another step for
troubleshooting. I have no idea if you could do the same for Ruby and
your app.

Hope this helps,
---------------- End original message. ---------------------

Actually no, you appear to have misread what I said in my original post. The application works with the web server bundled with Ruby which is simply for testing and not intended for production.

It does not work with Apache. Nothing using either FastCGI or regular CGI works. Period.

Everything, including scripts that run fine on other servers, simply fail. Everything fails with the Premature end of script headers errors.



Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux