not working in iis 5, xp

andrew magee
I’ve been using your instructions along with those at http://bitmask.co.uk/ruby-on-rails.html to try and get ruby on rails working on my XP machine running IIS 5, but have had no luck yet. My project is located at c:\inetpub\wwwroot\work_experience_zzz, and I have made an IIS virtual directory called ‘work_experience’ pointing to the c:\inetpub\wwwroot\work_experience_zzz\public. (This might be the problem already, as your instructions mention creating a Web Site instead of a virtual directory but I can’t do that in IIS 5. If that is the problem, then what do I do?)

I have also changed some of the rails source files as specified at http://bitmask.co.uk/ruby-on-rails.html (Is this ok?).

I installed ISAPI_Rewrite but when you say ‘The rewrite rules are configured per site by placing an .ini file in the root folder of this site’, you don’t mention what the name of the .ini file is, so I guessed httpd.ini.

I have installed and setup Ruby for IIS and FastCGI without any problems. I have also put the settings in the registry as specified. Does the ‘Web Service extension’ bit apply only to web services or do I need to do that to get the application to work? I can’t do that in IIS 5 or at least don’t know how to.

I’m trying to run my app at http://localhost/work_experience/arrangement1/list , which works fine in webrick, but brings up ‘the page cannot be found’, in IIS. I would greatly appreciate any help you could provide.

Thanks.



RE: not working in iis 5, xp

26-2-2006 16:34
Hi Andrew,

To be honest I still have not tried setting up FCGI on Windows XP. I know I really should give this a go.

I think these instructions were tested on XP: http://made-of-stone.blogspot.com/2006/01/rails-on-iis-revisited.html.

Finally I'm not to sure about sub directories. Did you try getting it up and running from the root directory?

As for the ini part you are right. The Web Service extension part is specific to Windows 2003. On XP these are called ISAPI filters.

/Boris

/Boris

Name:
Email:
Url:
Message:

I love umbraco. Click here to go to the umbraco developer site