first...
i've the latest version of XAMPP with the perl addon...
for the install of the ruby on rails i've follow this link: http://mpcon.org/apacheguide/ruby.php;
and the link for install ruby on rails that i was follow is:
http://electricvisions.com/rails.html.
but... when i've enable the following code in the httpd.conf
#LoadModule fastcgi_module modules/mod_fastcgi.so
(or #LoadModule fastcgi_module modules/mod_fastcgi.dll of the project page)
and then, i'm refresh in the XAMPP control panel... automaticaly the apache server was stopped!
can any person help me with this thread! (installing the fastcgi module or if have more information in how i can install the mod_ruby in XAMPP).
more info...
i'm create two instances or config in the httpd.conf and look like this...
# Note: use only one of the two environment!
##
# for the fastcgi development environment configuration
# Include conf/extra/httpd-decgi.conf
##
# Development Environment
# FastCGI, by default, starts up several processes. This means you'll
# see several copies of rubyw.exe running in Task Manager. For development,
# to save memory and startup time you may wish to force FastCGI and
# to only start with one ruby process.
##
# for the extended and fast cgi production environment confiiguration
# Include conf/extra/httpd-pecgi.conf
##
# Production Environment
# If you are setting this up in a production enironment you will need to tell rails
# to use the production database (set in the database.yml file). Also, the -restart
# option will restart rails if something goes wrong.
#
in my httpd-pecgi.conf is:
FastCgiConfig -initial-env RAILS_ENV=production -restart
in my httpd-decgi.conf is:
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1 -processSlack 1
in my httpd-vhost.conf i've the following code:
<VirtualHost *:80>
ServerName rails
DocumentRoot "C:/Archivos de programa/xampp/htdocs/rails/test/public"
ErrorLog "C:/Archivos de programa/xampp/htdocs/rails/rails.log"
<Directory "C:/Archivos de programa/xampp/htdocs/rails/test/public/">
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
AddHandler cgi-script .cgi
AddHandler fastcgi-script .fcg .fcgi .fpl
</Directory>
</VirtualHost>
I've made more changes in the code of XAMPP files, but in this cases didn't causes conflicts with the WEBrick Server (Ruby on Rails).