Re: fastcgi + spyce2 + apache/win32 (problems!)
Marc Prewitt <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Couple of things to check: 1) Does running the run_spyceCGI.py from a commandline work? If not, it may output some error messages as to wny not. Try running this from a command prompt: C:/opt/spyce/run_spyceCGI.py 2) Did you do the other spyce windows install instructions: 6.4.3. Windows If you are installing Spyce manually on Windows, remember to add the following line to Apache's httpd.conf: ScriptInterpreterSource registry This assumes that Python has registered itself with the Windows registry to run .py files. Otherwise, you can also omit this line, but make sure that the first line of the run_spyceCGI.py file points to a valid Python executable, as in: #! c:/progs/python/python.exe I don't use python myself, these are just general suggestions. Jarosław Zabiello wrote: > Could anybode was able to use Spyce2 (http://spyce.sf.net) under win32 > and fastcgi? I have winxppro, python 2.4.1, apache 2.0.54. Normal CGI > works, I have only problems with fastcgi. I wrote to spyce maillist > but nobody could answer my problem. I got an advise to write here. > > I have dowloaded binary dll library from > http://www.fastcgi.com/dist/mod_fastcgi-2.4.2-AP20.dll > I got no error and my Apache 2.0.54 shows me mod_fastcgi/2.4.2 > installerd. But.. I cannot execute any .spy files at all. :( I always > get Internal Server Error. My apache2 shows the following: > > [Mon May 23 10:45:55 2005] [warn] FastCGI: server > "C:/opt/spyce/run_spyceCGI.py" restarted (pid 3728) > [Mon May 23 10:45:55 2005] [warn] FastCGI: server > "C:/opt/spyce/run_spyceCGI.py" (pid 3728) terminated with exit with status '1' > [Mon May 23 10:46:00 2005] [warn] FastCGI: server > "C:/opt/spyce/run_spyceCGI.py" restarted (pid 1396) > [Mon May 23 10:46:00 2005] [warn] FastCGI: server > "C:/opt/spyce/run_spyceCGI.py" (pid 1396) terminated with exit with status '1' > [Mon May 23 10:46:05 2005] [warn] FastCGI: server > "C:/opt/spyce/run_spyceCGI.py" restarted (pid 3568) > [Mon May 23 10:46:05 2005] [warn] FastCGI: server > "C:/opt/spyce/run_spyceCGI.py"(pid 3568) terminated with exit with status '1' > [Mon May 23 10:46:05 2005] [warn] FastCGI: server > "C:/opt/spyce/run_spyceCGI.py" has failed to remain running for 30 seconds > given 3 attempts, its restart interval has been backed off to 600 seconds > > My httpd.conf is: > > AddHandler spyce-cgi-handler spy > Action spyce-cgi-handler "/spyce-cgi/run_spyceCGI.py" > ScriptAlias /spyce-cgi/ "c:/opt/spyce/" > <Location /spyce-cgi/> > <IfModule mod_fastcgi.c> > SetHandler fastcgi-script > </IfModule> > </Location> > <IfModule mod_fastcgi.c> > FastCgiServer "c:/opt/spyce/run_spyceCGI.py" -port 7654 -initial-env FCGI_PORT=7654 > </IfModule> > ScriptInterpreterSource registry > > > > ------------------------------------------------------------------------ > > ___________________________________ > fastcgi-developers mailing list > http://fastcgi.com/fastcgi-developers/ ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/