The Microsoft webserver, IIS, is finally implementing FastCGI for
versions 5.1, 6, and 7. Zend (the PHP people) are working with MS to
get PHP supported, and PHP5 is supported in the technical preview
release out now:
Would it be possible for someone on the core team to contact Mike
Volodarsky:
If RoR could run as easily on IIS servers as it does on mongrel and
webrick, or even apache and lighttpd, then it would be a huge boon to
the community. I don't know enough about ruby or Windows to be of any
help personally <newb> but I am hoping someone out there does!
Primary benefit to me (and many others on blogs/forums I've read) of
getting RoR on IIS:
Single Sign On through Active Directory or NTLM. If a user has logged
into their Windows machine, then they are automatically logged into
internal company webapps, bypassing the login screen. This is a
requirement in the design spec of the apps I am building.
I have talked to Mike about this previously, and he emailed me a week or so back and asked if I’d had a chance to check out the latest builds, I will make sure to follow up with him and pass on your request and get him more engaged with our community.
Awesome! It's good to know you were already working on it! I hope
this topic gets more exposure, because IIS is the standard at the
office, and I want to use Rails at the office.
Josh, I am looking forward to your email. We are picking up momentum
in trying to get other frameworks onboard the FastCGI train, but
unfortunately having some issues with Ruby due to our lack of
experience with it. Your help will be instrumental in getting RoR
running on Windows better - not every day an opportunity like this
comes along
Anyway, bounce me an email and we'll chat about it.
Is there further discussion on this topic happening in a different
forum or a site that is showing status and existing issues with the RoR
on IIS with FastCGI? I've been looking for a solid solution to this
problem for a few months as I'm looking at transitioning to RoR but
have the limitation of having to use IIS for the webserver. So, if you
guys get this working, it will be much appreciated by me.
Contact me directly… I can point you to some materials I wrote. I currently deploy lots of apps behind IIS using various techniques. None of them are ‘built in’ but I’m investigating this new method right now.
Anyone else interested can contact me as well - don’t want to hijack this thread.
Thanks Brian. Are you working on RoR using FastCGI or using Mongrel.
My environment is (very unfortunately) limited to a strict IIS
environment without allowing Mongrel to sit behind IIS, so I'm really
interested in the FastCGI alternative. Thanks for responding and for
your help.
I am running it behind IIS using mongrel or Apache or gasp even Lighttpd on Linux. I’m not entirely sure why you are limited to IIS only… Mongrel runs very nicely as a Windows NT service. That’s unfortunate. You’ll have to try to convince them otherwise; trust me… it can be done
Until MS fixes the issues with their isapi_fcgi.dll for Ruby, you can
take a look at my Ruby On Rails For IIS Fast-CGI installer hosted on MS
new open source site...
Do any of you know whether the Ruby installation includes a
FastCGI-compliant executable? This is necessary in order to
interoperate with any FastCGI server over the FastCGI protocol
(http://www.fastcgi.com/devkit/doc/fcgi-spec.html).
So far, it doesnt appear that Ruby.exe or Rubyw.exe are it - although
maybe they require some command line switches or environment variables
to kick into FastCGI mode.