mod_fastcgi + cgiwrap

Ryan Wilcox <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <r02010500-1043-0AECEC8273D311DA91E900039310A782@[10.0.1.9]>
Hello all,

Over the last few days I've been fighting with getting mod_fastcgi and cgiwrap to work together on my apache install (1.3)

For a simple (non-wrapped) CGI I was able to configure mod_fastcgi, and it worked. Cool.

For a cgiwrapped CGI, I'm having problems. My CGI process launches, but cgiwrapd (output to apache's error log) shows that no output is coming from the CGI. Indeeed, mod_fastcgi complains that:

[client 127.0.0.1] FastCGI: comm with server ... aborted: idle timeout (30 sec)
[Thu Dec 22 09:19:12 2005] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server ...

Using cgiwrapd instead of cgiwrap gives shows me that nothing is output from the script - the same script that worked fine without cgiwrap.

The relevant lines from my httpd.conf are:

    FastCgiWrapper /Library/WebServer/CGI-Executables/cgiwrapd
    FastCgiServer /Library/WebServer/CGI-Executables/dispatch.cgi -initial-env PATH_INFO=/rwilcox/dispatch.cgi
 
Can someone give me pointers? While I find the documentation on mod_fastcgi to be a good reference, I'm not really certain how to connect the dots to get a working FastCGI + cgiwrap enabled solution.

Thanks so much,
_Ryan Wilcox

-- 
Wilcox Development Solutions:          <http://www.wilcoxd.com>
Toolsmiths for the Internet Age            PGP: 0x2F4E9C31

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.