# Developing a Rails server on XP

**URL:** <https://www.ruby-forum.com/t/developing-a-rails-server-on-xp/145450>\
**Category:** Rails\
**Created:** [August 9, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/developing-a-rails-server-on-xp/145450 "2008-08-09T20:27:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![athel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@athel](https://www.ruby-forum.com/u/athel)\
**Post date:** [August 9, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/developing-a-rails-server-on-xp/145450/1 "2008-08-09T20:27:43Z")

</div>

I followed the following site step by step:

[http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP](http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP)

In the past this worked perfect. However, this weekend I started  
rebuilding a rails server. I can get it running ok, but when I get  
the “Welcome abaord, you’re riding rails” welcome screen, I click on  
the “About your application’s environment” link and it drops down and  
says “The requested URL /rails/info/properties was not found”. If I  
use Webrick and navigate to [http://localhost:3000/](http://localhost:3000/) and click it, it  
works fine.

So I’m guessing it has something to do with the way rails works with  
apache? But I can’t find an answer anywhere how/where to fix it?

Any suggestions?

---

<div class="post-metadata">

**Author:** ![athel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@athel](https://www.ruby-forum.com/u/athel)\
**Post date:** [August 9, 2008, 8:44pm UTC](https://www.ruby-forum.com/t/developing-a-rails-server-on-xp/145450/2 "2008-08-09T20:44:06Z")

</div>

On Aug 9, 8:27 pm, Athel [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> works fine.
> 
> So I’m guessing it has something to do with the way rails works with  
> apache? But I can’t find an answer anywhere how/where to fix it?
> 
> Any suggestions?

/rails/info/properties is only available in development environment.  
If you run the application in production environment then that URI  
will not be recognized.

---

<div class="post-metadata">

**Author:** ![athel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@athel](https://www.ruby-forum.com/u/athel)\
**Post date:** [August 10, 2008, 3:03am UTC](https://www.ruby-forum.com/t/developing-a-rails-server-on-xp/145450/3 "2008-08-10T03:03:10Z")

</div>

I found the answer (finally)…

Rails 2.1 no longer includes the needed .htaccess file…once I added  
that every problem I was having was fixed.

---

<div class="post-metadata">

**Author:** ![athel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@athel](https://www.ruby-forum.com/u/athel)\
**Post date:** [August 10, 2008, 4:34am UTC](https://www.ruby-forum.com/t/developing-a-rails-server-on-xp/145450/4 "2008-08-10T04:34:58Z")

</div>

The best way to deploy a Rails application on Windows is outlined in the  
“Deploying Rails Applications” book from Prags. Use Apache 2.2 with  
mod\_proxy\_balance and several Mongrels installed as Windows Services.  
It’s  
the most stable and scalable solution.

I think one reason to remove the .htaccess file was to discourage the  
use of  
fastcgi. I don’t long for those days, personally.

---

<div class="post-metadata">

**Author:** ![athel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@athel](https://www.ruby-forum.com/u/athel)\
**Post date:** [August 21, 2008, 4:19am UTC](https://www.ruby-forum.com/t/developing-a-rails-server-on-xp/145450/5 "2008-08-21T04:19:53Z")

</div>

Thank you for making that available. It’s so nice not to have to  
maintain  
my own anymore 🙂

---

<div class="post-metadata">

**Author:** ![athel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/839c29/32.png) [@athel](https://www.ruby-forum.com/u/athel)\
**Post date:** [August 12, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/developing-a-rails-server-on-xp/145450/6 "2008-08-12T22:17:57Z")

</div>

As an alternate solution may I suggest Engine Y. Express with VMWare  
player?

[http://express.engineyard.com](http://express.engineyard.com)

–  
– Tom M., CTO  
– Engine Y., Ruby on Rails Hosting  
– Support, Scalability, Reliability  
– (866) 518-YARD (9273) x201
