Fastcgi example
Irene Ladyko <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel,gmane.spam.detected |
|---|---|
| Organization | ISS Art, Ltd. |
| Message-ID | <[email protected]> |
Hello, fastcgi-developers.
Now I'm trying to install mod_fastcgi on Apach 1.3 (WinXP).
I downloaded http://www.fastcgi.com/dist/mod_fastcgi-2.4.2-AP13.dll.
1. Copied it into "C:\Program Files\Apache Group\Apache\modules" as mod_fastcgi.dll.
2. Added the next line into "...\Apache\conf\httpd.conf" file.
LoadModule fastcgi_module modules/mod_fastcgi.dll
<IfModule mod_alias.c>
ScriptAlias /fcgi-bin/ "C:/Program Files/Apache Group/Apache/fcgi-bin/"
<Directory "C:/Program Files/Apache Group/Apache/fcgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</IfModule>
Result: Server starts correctly.
After that, I try to check, that mod_fastcgi works correctly, so I
download http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz. Build it and
copy "...\fcgi-2.4.0\examples\echo\Release\echo.exe" into
"...\Apache\fcgi-bin\" as fcgi2.fcgi.
I request http://127.0.0.1/fcgi-bin/fcgi2.fcgi resource into brouser.
It display:
FastCGI echo
Request number 1, Process ID: 4016
....
But my next request http://127.0.0.1/fcgi-bin/fcgi2.fcgi don't change
Request number. I doesn't change request number.
FastCGI echo
Request number 1, Process ID: 3420
...
It seams that that fastcgi application is run as cgi application or
this is not fastCGI example. Please point me on that fastcgi example,
that evidently show that fastcgi work/(is installed) correctly or on
my error.
Oh, one more.
When I add the next line into httpd.conf file
FastCgiServer fcgi-bin/fcgi2.fcgi
Restart Apache
And request http://127.0.0.1/fcgi-bin/fcgi2.fcgi
Server return "Internal Server Error - 500", though the server might
to identify it as a static FastCGI application.
--
Best Regards, Irene Ladyko.
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/