Forum Moderators: phranque

Message Too Old, No Replies

Installing fastcgi with cpanel and WHM

Apache restarts properly, but no FCGI :(

         

craig1972

3:18 pm on Feb 13, 2007 (gmt 0)

10+ Year Member



I searched through this board but did not find anything that addresses this issue.

I would like to set up fastcgi for Perl. First to work with *.fcgi extensions, then to be the default for all *.cgi scripts in general.

I have followed all the instructions I could find on the Internet, which involved 'wget' of the tag.gz files from fastcgi.com, then the usual configure&&make&&makeinstall. Then apxs into Apache (I guess this builds it into Apache). Then the LoadModule stuff in httpd.conf.

Cut to the chase, my host tells me that FastCGI is installed. Apache has instructions to load it, and Apache still starts with no hitches. So I suppose FastCGI is "working", or so my host tells me.

Yet, when I try a simple HelloWorld.fcgi (with nothing but a print statement, and yes I have the Perl shebang etc in place) I only see a blank page in my web browser. The error_log from Apache does not seem to be capturing any errors. And I have the script chmodded to executable -- I tried 644, 755, etc.

Thanks for any advice or pointers! I have full SSH access, as well as access to WHM etc.