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
and another site has Instructions here too!
#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
Now I’m using this guide instead.
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
<Directory c:/dev/myrailsapp/public/>
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
</Directory>
</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!