# Ruby on Rails - Confused with installation on Apache/XAMPP - WinXP

**URL:** <https://forum.kirupa.com/t/ruby-on-rails-confused-with-installation-on-apache-xampp-winxp/188047>\
**Category:** programming\
**Created:** [May 4, 2006, 4:22am UTC](https://forum.kirupa.com/t/ruby-on-rails-confused-with-installation-on-apache-xampp-winxp/188047 "2006-05-04T04:22:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zicemaster](https://avatars.discourse-cdn.com/v4/letter/z/b77776/32.png) [@zicemaster](https://forum.kirupa.com/u/zicemaster)\
**Post date:** [May 4, 2006, 4:22am UTC](https://forum.kirupa.com/t/ruby-on-rails-confused-with-installation-on-apache-xampp-winxp/188047/1 "2006-05-04T04:22:33Z")

</div>

Ok heres what I have done so far… Installed ruby182-15.exe into the XAMPP folder. So it’s c:program files/xampp/ruby

I tested it and it works, but it’s not integrated with my server… Soo… I add some more stuff!

I now have five other folders in my xampp folder:  
mod\_fastcgi-2.4.2  
ruby-fcgi-0.8.5  
mysql-ruby-2.5.2  
fcgi-2.4.0  
rubygems-0.8.11

Am I supposted to copy the files from mod\_fastcgi-2.4.2 and overwrite the files in fcgi-2.4.0? I’m getting all confused here…

I’m going to post each step I’m doing here… In case someone notices something wrong! Heres the instructions I’m TRYING to follow\> [Instructions](http://www.infused.org/2005/03/19/ruby-on-rails-apache-fastcgi-and-ensim/)  
and another site has [Instructions here too!](http://wiki.rubyonrails.com/rails/pages/GettingStartedWithRails)

#Add the following line at the bottom of the LoadModule section of #etc/httpd/conf/httpd.conf:  
LoadModule fastcgi\_module modules/mod\_fastcgi.so  
#Did that…

#Add this line right below the AddHandler line for CGI.  
AddHandler fastcgi-script .fcgi .fcg .fpl  
#Done

I installed ruby for apache instead… Humm…  
[http://rubyforge.org/frs/?group\_id=477&release\_id=2501](http://rubyforge.org/frs/?group_id=477&release_id=2501)

Now I’m using this guide instead.  
[http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows](http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows)

So… How do I do this?:

Now, a typical Virtual Host entry that should point to your Rais application would look like this:  
\<VirtualHost \*:3000\>  
DocumentRoot c:/dev/myrailsapp/public  
ErrorLog c:/dev/myrailsapp/log/server.log

```
&lt;Directory c:/dev/myrailsapp/public/&gt;
  Options ExecCGI FollowSymLinks
  AllowOverride all
  Allow from all
  Order allow,deny
&lt;/Directory&gt;

```

\</VirtualHost\>  
Remember to add a ‘Listen 3000’ directive as well up in the httpd.conf file if you’re going to use that port.

Okay… I give up for now… Now I have to reinstall XAMPP! Or just remove the changes in the httpd.conf file… Bah! Time to watch Final Fantasy!
