From: James Tanis <jtanis@py...> - 2005-01-21 04:41:20
I am running Apache 1.3.29 on OpenBSD v3.6 and I can not, for the life
of me get spyce installed relying on anything but plain ol' cgi.
FastCGI as far as I can tell is properly installed. I followed the
instructions on both Spyce's and FastCGI's website to a "T". From apache
I get the below entries after trying to access
# tail /var/www/logs/error_log
[Thu Jan 20 23:00:09 2005] [error] [client 192.168.0.101] (22)Invalid
argument: FastCGI: failed to connect to server
"/usr/share/spyce/run_spyceCGI.py": connect() failed
[Thu Jan 20 23:00:09 2005] [error] [client 192.168.0.101] FastCGI:
incomplete headers (0 bytes) received from server
I tried opening 7654 on my firewall to no avail, the error has stayed
the same. When using plain ol' cgi on the other hand, the url works
The Python module (mod_python v2.7.10 & python v2.4) is a flat out bust.
I didn't have my heart set on this module so I didn't keep the error
around to cut and paste, but originally it told me something along the
lines of this module/dso needs to use EAPI or else it will be unstable
anad crash apache, recompile with -DEAPI. Took me a bit to figure out
how to do that. Finally got the results I needed, or so I thought, by
adding -DEAPI=1 to the begining of apxs's arguments. Suffice it to says,
the error message went away, but it kept crashing just as immediately.
Any suggestions? I guess I could try running spyce as a proxy behind
Apache, but I'd really rather use FastCGI or mod_python if possible.