|
Apache is spitting out a HTTP response of code: 400 "Bad Request" with no details whenever I access a page driven that is handled by a FastCGI script.
I've installed the mod_fcgid module and it's loaded and configured in the Apache config files I've tested...
Started by Daniel Beardsley on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at stackoverflow):
What language is dispatch.fcgi in? Can you execute.
I think how your example above of FastCGI is missing something, but I admit its been a while since I've done anything but php or python fastcgi.
|
|
I'm running a Django site using the fastcgi interface to nginx. However, some pages are being served truncated (i.e. the page source just stops, sometimes in the middle of a tag). How do I fix this (let me know what extra information is needed, and I'...
Started by Silas on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
At least lighttpd has horrible fastcgi bugs, I wouldn't wonder catched and closes the fastcgi server which....
Possible problems:
nginx is buggy.
Is it flup? If yes, paste the way you spawn .
What fastcgi interface are you using and how.
|
|
I'm getting this error in a PHP (Drupal) application:
(104)Connection reset by peer: FastCGI: comm with server "/opt/php-5.2.5/bin/php-cgi" aborted: read failed
It is often followed by this error:
FastCGI: incomplete headers (0 bytes) received from server...
Started by Aaron Longwell on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Sorry I don't have more i've got apache 500 internal error....
It seems certain kinds of errors cause FastCGI to fail so badly that it doesn't forward on the underlying PHP code error.
Issue, it was related to an odd bug in my code.. .
|
Ask your Facebook Friends
|
A debian lenny server, running apache httpd 2.2.11 and fastcgi, kills requests when they take more than a certain amount of seconds. I want to disable this timeout to enable me to debug an application that is launched using fastcgi.
I've searched in both...
Started by Kknd on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
FastCGIConfig affects all FastCGI applications; the other two are per):
-appConnTimeout n (0 seconds)
Unix: The number....
Looks like you want one of the FastCGI directives : FastCGIServer, FastCGIConfig, or FastCgiExternalServer, depending.
|
|
Hello all,
I'm having a very peculiar problem in my Python FastCGI code - sys.stdout has a file descriptor of '-1', so I can't write to it. I'm checking this at the first line of my program, so I know it's not any of my code changing it.
I've tried sys...
Started by Ronan Klyne on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Of course this is only available when a request is called but not during/#logging-to-wsgi-errors
Do you have to....
In WSGI you use fastcgi.
App\app_wsgi.py
Are you running a WSGI application or a FastCGI app? There is a difference.
|
|
I'm not of the Perl world, so some of this is new to me. I'm running Ubuntu Hardy LTS with apache2 and mod_fcgid packages installed. I'd like to get MT4 running under fcgid rather than mod-cgi (it seems to run OK with plain-old CGI).
I can't seem to get...
Started by sstrudeau on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For MT, enabling FastCGI a matter of renaming (or symlinking) the cgi which isn't FastCGI....
The typical FastCGI script variable space of course.
Movable Type uses CGI::Fast for FastCGI.
To print anything back to the browser.
|
|
We are migrating to a new server running Windows 2003 and IIS 6. When my PHP code runs, it has a warning on a particular line (which I'm expecting at the moment but will fix shortly). However, when it hits the warning, it immediately halts processing ...
Started by jlleblanc on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can however set error_reporting (in your php.ini ) to
E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
to make within the code and....
I don't know about IIS or FastCGI, but afaik php has no such option.
|
|
I am have configured a Web Server to use a 'remote' fastCGI application over a named pipe (it's actually on the same windows host). I am now trying to find out how to start the fastCGI application to use this pipe but am unsure how this should be done...
Started by Howard May on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
* *....
"/tmp/fastcgi/mysocket", ":5000 descriptor or -1 on error.
* * path is the Unix domain socket (named pipe for WinNT), or a colon * followed by a port number .
/* * * * FCGX_OpenSocket -- * * Create a FastCGI listen socket.
|
|
I am trying to configure the Python mini-framework CherryPy with FastCGI (actually fcgid) on Apache. I am on a shared host, so I don't have access to httpd.conf, just htaccess. I have followed these tutorials to no avail:
tools.cherrypy.org/wiki/FastCGIWSGI...
Started by arshaw on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
This is a very common apache error, see http://httpd.apache.org/docs/1.3/misc/FAQ-F.html#premature/questions/1665742/cherrypy-or-other-python-framework-with-fastcgi-on-shared-host
Thanks..
|
|
I am trying to configure the Python mini-framework CherryPy with FastCGI (actually fcgid) on Apache. I am on a shared host, so I don't have access to httpd.conf, just htaccess. I have followed these tutorials to no avail:
http://tools.cherrypy.org/wiki...
Started by arshaw on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Other than that, if you can print to the error log, it should actually show what the....
I wish I had a year (worked from the shell, but not from the web/apache) .
Apache + Bluehost + fastcgi + cherrypy + wsgi is unfortunately a lot of pieces.
|