mod-fcgid

Perl & mod_fcgid- how can I be sure it's working?

I have a couple Perl scripts I'm taking public soon, and I want to make sure they'll run under mod fcgid in order to keep the server load as low as possible. Previously, I've only ever run scripts that test FastCGI (ie, while ( my $q = new CGI::Fast ) { $count++; echo $count;}) or taken advantage of larger Perl packages (like MovableTyp...

Why does my simple fastCGI Perl script fail?

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 even a simple Perl script to run under fcgid. I created a simple "Hello World" app...

CherryPy (or other Python framework) with FastCGI on shared host

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/FastCGIWSGI http://tools.cherrypy.org/wiki/BluehostDeployment I keep getting 500 e...

how-to apache 2.2 mod_fcgid set python path

Hello, i have trouble with seting the python path or any other enviroment variable for mod_fcgid (solaris 10, glassfish apache 2.2) I have it set in apache, but nothing in os.environ in the fcgi script: SetEnv PYTHONPATH "/opt/uusis/lib/python2.4/site-packages/:/usr/lib/python2.4/" And other stuff(for example ORACLE_HOME) and I need...

Reload mod_fcgid without killing Python Service

Hi I'm currently running a Django project on my school's webserver with FCGI. I did follow the multiple guides that recommends installing a virtual local Python environment and it worked out great. The only issue i had was that "touching" my fcgi-file to reload source-files wasn't enough, but instead i had to kill the python service via...

mod_fcgid - strange log line wraping

In my shell script that I run as a cgi application using fast cgi, when I echo as below, the log lines in apache error log appears broken up ( as shown below ). Anu idea why this happens? echo "a few words - some other words" 1>&2 In the log file [Tue Apr 27 12:27:54 2010] [warn] mod_fcgid: stderr: a few words - [Tue Apr 27 12:27:54 ...

can't import own django module using fcgi

I'm running a django app through fcgi on my school's shared hosting system. Everything works initially (standard start page shows when I view the directory with index.fcgi) but when I add a module and try to import, I get the following error. The same code works when I run on my local machine. [Fri Jun 11 04:45:30 2010] [warn] mod_fcg...

What's the best way to find out if a given process has been started started as fcgi?

I have an libfcgi program. It would be nice if it could detect if it has been started under FCGI (in which case it could go to the FCGI_Accept runloop) or if it's been started at the command line (in which case it could do something else). Is there an environment variable I can check for? I know I could set these in the webserver, but ...

Connection Reset by peer: mod_fcgid:

Hi When I try to run a program in PHP using domPHP API to create PDF files in runtime - with Godaddy server, I am getting the message - Connection Reset by peer: mod_fcgid the same work in our local server as well as in Dreamhost and Host gator. Godaddy support insists that this is a coding error and not server issue. Can any one hel...