IIS 5 & IIS 6
The FastCGI Handler was unable to process the request.
Last post Dec 24, 2007 07:31 PM by PHILMEE95
Oct 26, 2007 06:07 AM|shiva.98|LINK
Iam using iis server to connect with ruby application.....I followed the steps given in the website http://mvolo.com/blogs/serverside/archive/2007/02/18/10-steps-to-get-Ruby-on-Rails-running-on-Windows-with-IIS-FastCGI.aspx?CommentPosted=true#commentmessage
when i access my application it is showing this is error
Oct 26, 2007 07:26 AM|wadeh|LINK
Can you post the URL that you were requesting and the information from the [Types] section of fcgiext.ini?
Oct 26, 2007 07:34 AM|shiva.98|LINK
new is my application name
[Types] *:85358523=new [new] ExePath=c:\ruby\bin\ruby.exe Arguments=c:\ruby\new\public\dispatch.fcgi IgnoreDirectories=0 IgnoreExistingFiles=1 QueueLength=1000 MaxInstances=4 InstanceTimeout=30 InstanceMaxRequests=200
Oct 26, 2007 07:47 AM|wadeh|LINK
According to the error message, the request came in on a different site than the one you've set up with the * mapping in the [Types] section. Try creating a new entry in the types section using the same site number that the error reported. You can just
go ahead and point that mapping to the same [new] application for testing.
Let us know if that works.
Oct 26, 2007 08:01 AM|shiva.98|LINK
Thanks for your reply. but iam getting below result
actually iam new to iis with ruby .
Oct 27, 2007 12:26 AM|wadeh|LINK
It looks like you are making progress.
Can you please post the URL that you are requesting, and how you think it should be handled (ie. should it reach Ruby, does the URL correspond to a virtual directory or a physical subdirectory of a virtual directory, etc?) The more information you can include
about how your application and files are laid out, the better we can help.
Also, can you please post the application section from your fcgiext.ini file?
Oct 30, 2007 11:58 PM|rockinthesixstring|LINK
I am experiencing this same issue. I am new to PHP and to FastCGI.
it is supposed to load phpmyadmin
also, i think i installed php5isapi.dll - is that wrong?
Nov 01, 2007 06:38 AM|gipsum|LINK
the dll is for php isapi not fastcgi. you may need to check some of document of this site for php fastcgi.
Nov 24, 2007 03:56 AM|PHILMEE95|LINK
Before reading the rest of this post, I fixed the problem. I had an empty [TYPES] config section in fcgiext.ini. I removed it and I was up and running.
..YAY!! lol and thanx for the FastCGI
I am getting the same error trying to get the beat fastcgi installed for php on windows XP SP2 (IIS5).
I got it running on a production, but low usage web server running iis6 on standard 2003 sp 2 on php 5.0.5.
the trouble is with XP SP2 web server. I set up the home directory in iisadmin for the fastcgi usage. I removed the isapi for php5 from the isapi modules. I made sure the script mapping was for ext ".php" was using the fascgi with "GET,HEAD,POST"
;php:123154536=PHP Site 1
;[PHP Site 1]
I want to install it on my dev box before I go production. I had many problems with the alpha, and want to bang this beta around for a week or 2.
Nov 26, 2007 05:48 PM|rickjames|LINK
The good news is you're getting an error from our FastCGI, which means you're halfway there! :-) The other good news, is copying and pasting your config onto my ws03 machine works. Are you using the latest released bits? (http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1521)
Dec 09, 2007 07:12 AM|PHILMEE95|LINK
Thanks Rick, I figured this out and posted it to this thread so others who blow through stuff to quickly might see my error. I have not noticed and problems what so ever from this release, so I will be putting it into production on 2000 server. I know, I
need to upgrade.
Dec 11, 2007 09:45 PM|PHILMEE95|LINK
Well, I guess I won't be installing it on iis 5 in windows 2000 sp4. I can't run the msi to completion on 3 machines running server 2000. I tried cutting and pasting the dll's and config in the system_root/system32/inetsrv/ folder but the dll must have to
be registered(?). I get a 500 internal server error when trying to execute a php script, and no php error is logged to file, SO i don't think fastcgi is executing the script. I set php executable in iisadmin with GET,POST,HEAD and check for file like my XP
box is set up.
I know the installer says only iis6 is supported (and IIS7), but a couple dozen pages say iis5.1 will work also. is there a command line param to register the fastcgi dll that I missed? It is not a windows service that I can tell, so this is confusing me.
Dec 11, 2007 11:18 PM|rickjames|LINK
When you said 2000 in your previous post, you meant 2000! Running FastCGI on Windows 2000 has never been a goal. At some point it may have worked there, but that would have been a co-incidence.
Please point me to any pages that say 5.1 is supported and I'll get them updated.
Dec 24, 2007 07:31 PM|PHILMEE95|LINK
Well, 5.1 must be the iis on xp. 5.0 is probably windows 200 server. I am not too sure how to check that, except the site headers I suppose. that is probably why most pages probably specify iis 5.1 as it is the XP version.
So in short, no windows server 2000 fastcgi. Server 2000 sp4 says iis 5.0 in my headers. XP says 5.1