There was a serious bug in the SCGI Rails Runner that is corrected in preview2. If you already preview1, then just download "SCGI_Rails-0.3.1-Update.zip" instead of preview2 and follow the instructions in readme.txt. The home page for Instant Rails is at: http://instantrails.rubyforge.org/ Especially, see the FAQ page for answers to common questions: http://instantrails.rubyforge.org/wiki/wiki.pl?FAQ The download page is at: http://rubyforge.org/frs/?group_id=904 =================================================== Instant Rails 1.0 preview1 Released A preview release of Instant Rails 1.0 for Windows is available for download. There are still a number of rough edges, but it is essentially functional and usable (see a list of planned changes for the 1.0 release at the end). Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails, Apache, and MySQL, all preconfigured and ready to run. No installer, you simply drop it into the directory of your choice and run it. It does not modify your system environment. This release of Instant Rails for Windows, but there are plans for ports to Linux, BSD, and OSX. Instant Rails includes the full source code of the cookbook application developed in the [Rolling with Ruby on Rails] tutorial. Once you have installed Instant Rails, you can verify that everything is working properly by running this cookbook application. Instant Rails includes a number of open source software packages. Below is a list of all included software. Primary Instant Rails Components =============================== * [Instant Rails Manager] 1.0 preview1 * [Ruby 1.8.2] (from the [One-Click Ruby Installer] 182-15) * [Ruby on Rails] 0.13.1 * [Apache] 1.3.33 * [MySQL] 4.1.9 * [SCGI] 1.7 * [SCGI Rails Runner] 0.3.1 * [phpMyAdmin] 2.6.1 Ancillary Instant Rails Components ================================= These components are not the primary focus of Instant Rails, but are included because the primary components above depend upon them.. * [PHP] 4.3.10 * [Rake] 0.6.2 * [cmdparse] 2.0.0 Install & Verify =============== Follow these steps to install Instant Rails and verify that it is working properly: * Download and unzip the Instant Rails zip file. * Start InstantRails?.exe. * Instant Rails will detect that it is being started from a new directory and ask if you want to have it update the paths in the all of the configuration files... Just say yes. * Click on the I button to drop down the main menu and select Configure > Windows Hosts file. * In the editor that pops up, add this line to the end of the file: 127.0.0.1 <http://127.0.0.1> http://www.mycookbook.com * Save the change and exit the editor. * In the main menu, select Rails Applications > Manage Rails Applications... * Check the checkbox next to the cookbook application. * Click on the Start SCGI button. * Once the SCGI server says that it is listening to 127.0.0.1:9999<http://127.0.0.1:9999>, open our browser and go to: http://www.mycookbook.com You should now be using a running Rails application! Poke around in the menus to see what''s there. Desired Changes for 1.0 Release ============================== * Use Apache2 instead of Apache 1.3 * Run SCGI Rails Runner in the background as a service. * Allow mutliple SCGI Rails Runner processes to service requests for a single Rails application. SRR already allows this on Linux, but it still needs to be implemented on Windows. * Use the C-based MySQL driver for for Ruby (currently the Ruby-based driver is used).
This truly is great. Really easy to get running.  
 
Does anyone know how to make this work using Aliases instead of virtual
hosts?
 
I have this and it seems to route properly, but I get a "routing
error"
from Rails. I''ve spent all day on this and am about to give up, but
I''m
wondering what else I have to do.
 
Any help would be greatly appreciated.
 
 
(Rails public/.htaccess)
 
================AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteBase /rproject
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
ErrorDocument 500 "<h2>Application error</h2>Rails application
failed to
start properly"
======= 
 
and the httpd.conf file:
 
========== 
    Alias /rproject "c:/rails/rails_apps/rproject/public" 
    <Directory c:/rails/rails_apps/rproject/public/>
            Options ExecCGI FollowSymLinks
            AllowOverride all
            Allow from all
            Order allow,deny
    </Directory>
 SCGIMount /rproject 127.0.0.1:9999
    <LocationMatch
^/(images|javascript|javascripts|stylesheets|[^/]+\.[^/]+$)>
        # don''t handle those with SCGI
        SCGIHandler Off
    </LocationMatch>
    <LocationMatch "^/$">
        # don''t handle just / with SCGI
        SCGIHandler Off
   </LocationMatch>
 
========== 
 
Thanks in advance!
 
 
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
Behalf Of Curt Hibbs
Sent: Wednesday, October 12, 2005 10:16 AM
To: ruby-talk ML; Rails-ML
Subject: [Rails] [ANN] Instant Rails 1.0 preview2 Released
There was a serious bug in the SCGI Rails Runner that is
corrected in preview2. If you already preview1, then just
download "SCGI_Rails-0.3.1-Update.zip" instead of preview2
and follow the instructions in readme.txt.
The home page for Instant Rails is at:
  http://instantrails.rubyforge.org/
  
Especially, see the FAQ page for answers to common questions:
  http://instantrails.rubyforge.org/wiki/wiki.pl?FAQ
The download page is at:
  http://rubyforge.org/frs/?group_id=904
===================================================
Instant Rails 1.0 preview1 Released
A preview release of Instant Rails 1.0 for Windows is available for
download.
There are still a number of rough edges, but it is essentially
functional and
usable (see a list of planned changes for the 1.0 release at the end).
Instant Rails is a one-stop Rails runtime solution containing Ruby,
Rails,
Apache, and MySQL, all preconfigured and ready to run. No installer, you
simply drop it into the directory of your choice and run it. It does not
modify your system environment.
This release of Instant Rails for Windows, but there are plans for ports
to Linux, BSD, and OSX.
Instant Rails includes the full source code of the cookbook application
developed in the [Rolling with Ruby on Rails] tutorial. Once you have
installed Instant Rails, you can verify that everything is working
properly
by running this cookbook application.
Instant Rails includes a number of open source software packages. Below
is a
list of all included software.
Primary Instant Rails Components
===============================
* [Instant Rails Manager] 1.0 preview1
* [Ruby 1.8.2] (from the [One-Click Ruby Installer] 182-15)
* [Ruby on Rails] 0.13.1
* [Apache] 1.3.33
* [MySQL] 4.1.9
* [SCGI] 1.7
* [SCGI Rails Runner] 0.3.1
* [phpMyAdmin] 2.6.1
Ancillary Instant Rails Components
=================================
These components are not the primary focus of Instant Rails, but are
included
because the primary components above depend upon them..
* [PHP] 4.3.10
* [Rake] 0.6.2
* [cmdparse] 2.0.0
Install & Verify
===============
Follow these steps to install Instant Rails and verify that it is
working
properly:
* Download and unzip the Instant Rails zip file.
* Start InstantRails?.exe.
* Instant Rails will detect that it is being started from a new
directory and ask if you want to have it update the paths in the
all of the configuration files... Just say yes.
* Click on the I button to drop down the main menu and select
Configure > Windows Hosts file.
* In the editor that pops up, add this line to the end of the file:
127.0.0.1 http://www.mycookbook.com
* Save the change and exit the editor.
* In the main menu, select Rails Applications > Manage Rails
Applications...
* Check the checkbox next to the cookbook application.
* Click on the Start SCGI button.
* Once the SCGI server says that it is listening to 127.0.0.1:9999, open
our browser and go to:
http://www.mycookbook.com
You should now be using a running Rails application! Poke around in the
menus
to see what''s there.
Desired Changes for 1.0 Release
==============================
* Use Apache2 instead of Apache 1.3
* Run SCGI Rails Runner in the background as a service.
* Allow mutliple SCGI Rails Runner processes to service requests for
a single Rails application. SRR already allows this on Linux, but
it still needs to be implemented on Windows.
* Use the C-based MySQL driver for for Ruby (currently the
Ruby-based driver is used).
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
You have to modify the .htaccess file in your Rails app and add something like rewritebase. Try a google search like: "site:rails.com <http://rails.com> alias rewritebase" And you should find some instructions. Curt On 10/12/05, Hogan, Brian P. <HOGANBP-VnAisaAFmHY@public.gmane.org> wrote:> > This truly is great. Really easy to get running. > Does anyone know how to make this work using Aliases instead of virtual > hosts? > I have this and it seems to route properly, but I get a "routing error" > from Rails. I''ve spent all day on this and am about to give up, but I''m > wondering what else I have to do. > Any help would be greatly appreciated. > (Rails public/.htaccess) > ================> AddHandler fastcgi-script .fcgi > AddHandler cgi-script .cgi > Options +FollowSymLinks +ExecCGI > > RewriteEngine On > RewriteBase /rproject > RewriteRule ^$ index.html [QSA] > RewriteRule ^([^.]+)$ $1.html [QSA] > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > ErrorDocument 500 "<h2>Application error</h2>Rails application failed to > start properly" > =======> and the httpd.conf file: > ==========> Alias /rproject "c:/rails/rails_apps/rproject/public" > <Directory c:/rails/rails_apps/rproject/public/> > Options ExecCGI FollowSymLinks > AllowOverride all > Allow from all > Order allow,deny > </Directory> > SCGIMount /rproject 127.0.0.1:9999 <http://127.0.0.1:9999> > <LocationMatch > ^/(images|javascript|javascripts|stylesheets|[^/]+\.[^/]+$)> > # don''t handle those with SCGI > SCGIHandler Off > </LocationMatch> > <LocationMatch "^/$"> > # don''t handle just / with SCGI > SCGIHandler Off > </LocationMatch> > ==========> Thanks in advance! > -----Original Message----- > *From:* rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto: > rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] *On Behalf Of *Curt Hibbs > *Sent:* Wednesday, October 12, 2005 10:16 AM > *To:* ruby-talk ML; Rails-ML > *Subject:* [Rails] [ANN] Instant Rails 1.0 preview2 Released > > There was a serious bug in the SCGI Rails Runner that is > corrected in preview2. If you already preview1, then just > download "SCGI_Rails-0.3.1-Update.zip" instead of preview2 > and follow the instructions in readme.txt. > > The home page for Instant Rails is at: > > http://instantrails.rubyforge.org/ > > Especially, see the FAQ page for answers to common questions: > > http://instantrails.rubyforge.org/wiki/wiki.pl?FAQ > > The download page is at: > > http://rubyforge.org/frs/?group_id=904 > > ===================================================> > Instant Rails 1.0 preview1 Released > > A preview release of Instant Rails 1.0 for Windows is available for > download. > There are still a number of rough edges, but it is essentially functional > and > usable (see a list of planned changes for the 1.0 release at the end). > > Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails, > Apache, and MySQL, all preconfigured and ready to run. No installer, you > simply drop it into the directory of your choice and run it. It does not > modify your system environment. > > This release of Instant Rails for Windows, but there are plans for ports > to Linux, BSD, and OSX. > > Instant Rails includes the full source code of the cookbook application > developed in the [Rolling with Ruby on Rails] tutorial. Once you have > installed Instant Rails, you can verify that everything is working > properly > by running this cookbook application. > > Instant Rails includes a number of open source software packages. Below is > a > list of all included software. > > Primary Instant Rails Components > ===============================> > * [Instant Rails Manager] 1.0 preview1 > > * [Ruby 1.8.2] (from the [One-Click Ruby Installer] 182-15) > > * [Ruby on Rails] 0.13.1 > > * [Apache] 1.3.33 > > * [MySQL] 4.1.9 > > * [SCGI] 1.7 > > * [SCGI Rails Runner] 0.3.1 > > * [phpMyAdmin] 2.6.1 > > Ancillary Instant Rails Components > =================================> > These components are not the primary focus of Instant Rails, but are > included > because the primary components above depend upon them.. > > * [PHP] 4.3.10 > > * [Rake] 0.6.2 > > * [cmdparse] 2.0.0 > > > Install & Verify > ===============> > Follow these steps to install Instant Rails and verify that it is working > properly: > > * Download and unzip the Instant Rails zip file. > > * Start InstantRails?.exe. > > * Instant Rails will detect that it is being started from a new > directory and ask if you want to have it update the paths in the > all of the configuration files... Just say yes. > > * Click on the I button to drop down the main menu and select > Configure > Windows Hosts file. > > * In the editor that pops up, add this line to the end of the file: > > 127.0.0.1 <http://127.0.0.1> http://www.mycookbook.com > > * Save the change and exit the editor. > > * In the main menu, select Rails Applications > Manage Rails > Applications... > > * Check the checkbox next to the cookbook application. > > * Click on the Start SCGI button. > > * Once the SCGI server says that it is listening to 127.0.0.1:9999<http://127.0.0.1:9999>, > open > our browser and go to: > > http://www.mycookbook.com > > You should now be using a running Rails application! Poke around in the > menus > to see what''s there. > > Desired Changes for 1.0 Release > ==============================> > * Use Apache2 instead of Apache 1.3 > > * Run SCGI Rails Runner in the background as a service. > > * Allow mutliple SCGI Rails Runner processes to service requests for > a single Rails application. SRR already allows this on Linux, but > it still needs to be implemented on Windows. > > * Use the C-based MySQL driver for for Ruby (currently the > Ruby-based driver is used). > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Well, I did that... see the configs that are listed in the original
message below.... that''s why I''m so confused. I can get it to
work when
I comment out 
 
SCGIMount /rproject 127.0.0.1:9999 <http://127.0.0.1:9999/> 
 
from the httpd.conf file... but with SCGI. I get routing errors.
 
 
---snip-----
RewriteEngine On
RewriteBase /rproject
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] 
ErrorDocument 500 "<h2>Application error</h2>Rails application
failed to
start properly"
---snip----
 
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
Behalf Of Curt Hibbs
Sent: Wednesday, October 12, 2005 9:40 PM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: Re: [Rails] [ANN] Instant Rails 1.0 preview2 Released
You have to modify the .htaccess file in your Rails app and add
something like rewritebase. Try a google search like: 
   "site:rails.com alias rewritebase"
And you should find some instructions.
Curt
On 10/12/05, Hogan, Brian P. <HOGANBP-VnAisaAFmHY@public.gmane.org> wrote:
	This truly is great. Really easy to get running.  
	 
	Does anyone know how to make this work using Aliases instead of
virtual hosts?
	 
	I have this and it seems to route properly, but I get a "routing
error" from Rails. I''ve spent all day on this and am about to give
up,
but I''m wondering what else I have to do.
	 
	Any help would be greatly appreciated.
	 
	 
	(Rails public/.htaccess)
	 
	================	AddHandler fastcgi-script .fcgi
	AddHandler cgi-script .cgi
	Options +FollowSymLinks +ExecCGI
	
	RewriteEngine On
	RewriteBase /rproject
	RewriteRule ^$ index.html [QSA]
	RewriteRule ^([^.]+)$ $1.html [QSA]
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
	ErrorDocument 500 "<h2>Application error</h2>Rails application
failed to start properly"
	=======	 
	 
	and the httpd.conf file:
	 
	==========	 
	    Alias /rproject "c:/rails/rails_apps/rproject/public" 
	    <Directory c:/rails/rails_apps/rproject/public/>
	            Options ExecCGI FollowSymLinks
	            AllowOverride all
	            Allow from all
	            Order allow,deny
	    </Directory>
	 SCGIMount /rproject 127.0.0.1:9999
	    <LocationMatch
^/(images|javascript|javascripts|stylesheets|[^/]+\.[^/]+$)>
	        # don''t handle those with SCGI
	        SCGIHandler Off
	    </LocationMatch>
	    <LocationMatch "^/$">
	        # don''t handle just / with SCGI
	        SCGIHandler Off
	   </LocationMatch>
	 
	==========	 
	 
	Thanks in advance!
	
	 
	 
	-----Original Message-----
	From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:
rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
<mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org> ]
On Behalf Of Curt Hibbs
	Sent: Wednesday, October 12, 2005 10:16 AM
	To: ruby-talk ML; Rails-ML
	Subject: [Rails] [ANN] Instant Rails 1.0 preview2 Released
	
	
	There was a serious bug in the SCGI Rails Runner that is
	corrected in preview2. If you already preview1, then just
	download "SCGI_Rails-0.3.1-Update.zip" instead of preview2
	and follow the instructions in readme.txt.
	
	The home page for Instant Rails is at:
	
	  http://instantrails.rubyforge.org/
	  
	Especially, see the FAQ page for answers to common questions:
	
	  http://instantrails.rubyforge.org/wiki/wiki.pl?FAQ
	
	The download page is at:
	
	  http://rubyforge.org/frs/?group_id=904
	
	==================================================== 
	
	Instant Rails 1.0 preview1 Released
	
	A preview release of Instant Rails 1.0 for Windows is available
for download.
	There are still a number of rough edges, but it is essentially
functional and
	usable (see a list of planned changes for the 1.0 release at the
end).
	
	Instant Rails is a one-stop Rails runtime solution containing
Ruby, Rails,
	Apache, and MySQL, all preconfigured and ready to run. No
installer, you
	simply drop it into the directory of your choice and run it. It
does not
	modify your system environment.
	
	This release of Instant Rails for Windows, but there are plans
for ports
	to Linux, BSD, and OSX.
	
	Instant Rails includes the full source code of the cookbook
application
	developed in the [Rolling with Ruby on Rails] tutorial. Once you
have
	installed Instant Rails, you can verify that everything is
working properly
	by running this cookbook application.
	
	Instant Rails includes a number of open source software
packages. Below is a
	list of all included software.
	
	Primary Instant Rails Components
	===============================	
	* [Instant Rails Manager] 1.0 preview1
	
	* [Ruby 1.8.2] (from the [One-Click Ruby Installer] 182-15)
	
	* [Ruby on Rails] 0.13.1
	
	* [Apache] 1.3.33
	
	* [MySQL] 4.1.9
	
	* [SCGI] 1.7
	
	* [SCGI Rails Runner] 0.3.1
	
	* [phpMyAdmin] 2.6.1
	
	Ancillary Instant Rails Components
	=================================	
	These components are not the primary focus of Instant Rails, but
are included
	because the primary components above depend upon them..
	
	* [PHP] 4.3.10
	
	* [Rake] 0.6.2
	
	* [cmdparse] 2.0.0
	
	
	Install & Verify
	===============	
	Follow these steps to install Instant Rails and verify that it
is working
	properly:
	
	* Download and unzip the Instant Rails zip file.
	
	* Start InstantRails?.exe.
	
	* Instant Rails will detect that it is being started from a new
	directory and ask if you want to have it update the paths in the
	all of the configuration files... Just say yes.
	
	* Click on the I button to drop down the main menu and select
	Configure > Windows Hosts file.
	
	* In the editor that pops up, add this line to the end of the
file:
	
	
	127.0.0.1 http://www.mycookbook.com
	
	* Save the change and exit the editor.
	
	* In the main menu, select Rails Applications > Manage Rails
Applications...
	
	* Check the checkbox next to the cookbook application.
	
	* Click on the Start SCGI button.
	
	* Once the SCGI server says that it is listening to
127.0.0.1:9999, open 
	
	our browser and go to:
	
	http://www.mycookbook.com
	
	You should now be using a running Rails application! Poke around
in the menus
	to see what''s there.
	
	Desired Changes for 1.0 Release
	==============================	
	* Use Apache2 instead of Apache 1.3
	
	* Run SCGI Rails Runner in the background as a service.
	
	* Allow mutliple SCGI Rails Runner processes to service requests
for
	a single Rails application. SRR already allows this on Linux,
but
	it still needs to be implemented on Windows.
	
	* Use the C-based MySQL driver for for Ruby (currently the
	Ruby-based driver is used).
	
	
	_______________________________________________
	Rails mailing list
	Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org 
	http://lists.rubyonrails.org/mailman/listinfo/rails
	
	
	
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
I''ve never actually done it myself, I only remembered reading about it. your best bet is to ask on the Rails Mailing List. Curt On 10/12/05, Hogan, Brian P. <HOGANBP-VnAisaAFmHY@public.gmane.org> wrote:> > Well, I did that... see the configs that are listed in the original > message below.... that''s why I''m so confused. I can get it to work when I > comment out > SCGIMount /rproject 127.0.0.1:9999 <http://127.0.0.1:9999/> > from the httpd.conf file... but with SCGI. I get routing errors. > ---snip----- > RewriteEngine On > RewriteBase /rproject > RewriteRule ^$ index.html [QSA] > RewriteRule ^([^.]+)$ $1.html [QSA] > RewriteCond %{REQUEST_FILENAME} !-f > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] ErrorDocument 500 > "<h2>Application error</h2>Rails application failed to start properly" > ---snip---- > -----Original Message----- > *From:* rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto: > rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] *On Behalf Of *Curt Hibbs > *Sent:* Wednesday, October 12, 2005 9:40 PM > *To:* rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > *Subject:* Re: [Rails] [ANN] Instant Rails 1.0 preview2 Released > > You have to modify the .htaccess file in your Rails app and add something > like rewritebase. Try a google search like: > > "site:rails.com <http://rails.com> alias rewritebase" > > And you should find some instructions. > > Curt > > On 10/12/05, Hogan, Brian P. <HOGANBP-VnAisaAFmHY@public.gmane.org> wrote: > > > > This truly is great. Really easy to get running. > > Does anyone know how to make this work using Aliases instead of virtual > > hosts? > > I have this and it seems to route properly, but I get a "routing error" > > from Rails. I''ve spent all day on this and am about to give up, but I''m > > wondering what else I have to do. > > Any help would be greatly appreciated. > > (Rails public/.htaccess) > > ================> > AddHandler fastcgi-script .fcgi > > AddHandler cgi-script .cgi > > Options +FollowSymLinks +ExecCGI > > > > RewriteEngine On > > RewriteBase /rproject > > RewriteRule ^$ index.html [QSA] > > RewriteRule ^([^.]+)$ $1.html [QSA] > > RewriteCond %{REQUEST_FILENAME} !-f > > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > > ErrorDocument 500 "<h2>Application error</h2>Rails application failed to > > start properly" > > =======> > and the httpd.conf file: > > ==========> > Alias /rproject "c:/rails/rails_apps/rproject/public" > > <Directory c:/rails/rails_apps/rproject/public/> > > Options ExecCGI FollowSymLinks > > AllowOverride all > > Allow from all > > Order allow,deny > > </Directory> > > SCGIMount /rproject 127.0.0.1:9999 <http://127.0.0.1:9999> > > <LocationMatch > > ^/(images|javascript|javascripts|stylesheets|[^/]+\.[^/]+$)> > > # don''t handle those with SCGI > > SCGIHandler Off > > </LocationMatch> > > <LocationMatch "^/$"> > > # don''t handle just / with SCGI > > SCGIHandler Off > > </LocationMatch> > > ==========> > Thanks in advance! > > -----Original Message----- > > *From:* rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces@lists.rubyonrails.org] > > *On Behalf Of *Curt Hibbs > > *Sent:* Wednesday, October 12, 2005 10:16 AM > > *To:* ruby-talk ML; Rails-ML > > *Subject:* [Rails] [ANN] Instant Rails 1.0 preview2 Released > > > > There was a serious bug in the SCGI Rails Runner that is > > corrected in preview2. If you already preview1, then just > > download "SCGI_Rails-0.3.1-Update.zip" instead of preview2 > > and follow the instructions in readme.txt. > > > > The home page for Instant Rails is at: > > > > http://instantrails.rubyforge.org/ > > > > Especially, see the FAQ page for answers to common questions: > > > > http://instantrails.rubyforge.org/wiki/wiki.pl?FAQ > > > > The download page is at: > > > > http://rubyforge.org/frs/?group_id=904 > > > > ===================================================> > > > Instant Rails 1.0 preview1 Released > > > > A preview release of Instant Rails 1.0 for Windows is available for > > download. > > There are still a number of rough edges, but it is essentially > > functional and > > usable (see a list of planned changes for the 1.0 release at the end). > > > > Instant Rails is a one-stop Rails runtime solution containing Ruby, > > Rails, > > Apache, and MySQL, all preconfigured and ready to run. No installer, you > > simply drop it into the directory of your choice and run it. It does not > > modify your system environment. > > > > This release of Instant Rails for Windows, but there are plans for ports > > to Linux, BSD, and OSX. > > > > Instant Rails includes the full source code of the cookbook application > > developed in the [Rolling with Ruby on Rails] tutorial. Once you have > > installed Instant Rails, you can verify that everything is working > > properly > > by running this cookbook application. > > > > Instant Rails includes a number of open source software packages. Below > > is a > > list of all included software. > > > > Primary Instant Rails Components > > ===============================> > > > * [Instant Rails Manager] 1.0 preview1 > > > > * [Ruby 1.8.2] (from the [One-Click Ruby Installer] 182-15) > > > > * [Ruby on Rails] 0.13.1 > > > > * [Apache] 1.3.33 > > > > * [MySQL] 4.1.9 > > > > * [SCGI] 1.7 > > > > * [SCGI Rails Runner] 0.3.1 > > > > * [phpMyAdmin] 2.6.1 > > > > Ancillary Instant Rails Components > > =================================> > > > These components are not the primary focus of Instant Rails, but are > > included > > because the primary components above depend upon them.. > > > > * [PHP] 4.3.10 > > > > * [Rake] 0.6.2 > > > > * [cmdparse] 2.0.0 > > > > > > Install & Verify > > ===============> > > > Follow these steps to install Instant Rails and verify that it is > > working > > properly: > > > > * Download and unzip the Instant Rails zip file. > > > > * Start InstantRails?.exe. > > > > * Instant Rails will detect that it is being started from a new > > directory and ask if you want to have it update the paths in the > > all of the configuration files... Just say yes. > > > > * Click on the I button to drop down the main menu and select > > Configure > Windows Hosts file. > > > > * In the editor that pops up, add this line to the end of the file: > > > > 127.0.0.1 <http://127.0.0.1> http://www.mycookbook.com > > > > * Save the change and exit the editor. > > > > * In the main menu, select Rails Applications > Manage Rails > > Applications... > > > > * Check the checkbox next to the cookbook application. > > > > * Click on the Start SCGI button. > > > > * Once the SCGI server says that it is listening to 127.0.0.1:9999<http://127.0.0.1:9999>, > > open > > our browser and go to: > > > > http://www.mycookbook.com > > > > You should now be using a running Rails application! Poke around in the > > menus > > to see what''s there. > > > > Desired Changes for 1.0 Release > > ==============================> > > > * Use Apache2 instead of Apache 1.3 > > > > * Run SCGI Rails Runner in the background as a service. > > > > * Allow mutliple SCGI Rails Runner processes to service requests for > > a single Rails application. SRR already allows this on Linux, but > > it still needs to be implemented on Windows. > > > > * Use the C-based MySQL driver for for Ruby (currently the > > Ruby-based driver is used). > > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Installed preview2 on Windows XP. Setup worked well. Did notice that AJAX is broken? Is there a quick fix for that? -Larry On 10/12/05, Curt Hibbs <curt.hibbs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > There was a serious bug in the SCGI Rails Runner that is > corrected in preview2. If you already preview1, then just > download "SCGI_Rails-0.3.1-Update.zip" instead of preview2 > and follow the instructions in readme.txt. > > The home page for Instant Rails is at: > > http://instantrails.rubyforge.org/ > > Especially, see the FAQ page for answers to common questions: > > http://instantrails.rubyforge.org/wiki/wiki.pl?FAQ > > The download page is at: > > http://rubyforge.org/frs/?group_id=904 > > ===================================================> > Instant Rails 1.0 preview1 Released > > A preview release of Instant Rails 1.0 for Windows is available for > download. > There are still a number of rough edges, but it is essentially functional > and > usable (see a list of planned changes for the 1.0 release at the end). > > Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails, > Apache, and MySQL, all preconfigured and ready to run. No installer, you > simply drop it into the directory of your choice and run it. It does not > modify your system environment. > > This release of Instant Rails for Windows, but there are plans for ports > to Linux, BSD, and OSX. > > Instant Rails includes the full source code of the cookbook application > developed in the [Rolling with Ruby on Rails] tutorial. Once you have > installed Instant Rails, you can verify that everything is working > properly > by running this cookbook application. > > Instant Rails includes a number of open source software packages. Below is > a > list of all included software. > > Primary Instant Rails Components > ===============================> > * [Instant Rails Manager] 1.0 preview1 > > * [Ruby 1.8.2] (from the [One-Click Ruby Installer] 182-15) > > * [Ruby on Rails] 0.13.1 > > * [Apache] 1.3.33 > > * [MySQL] 4.1.9 > > * [SCGI] 1.7 > > * [SCGI Rails Runner] 0.3.1 > > * [phpMyAdmin] 2.6.1 > > Ancillary Instant Rails Components > =================================> > These components are not the primary focus of Instant Rails, but are > included > because the primary components above depend upon them.. > > * [PHP] 4.3.10 > > * [Rake] 0.6.2 > > * [cmdparse] 2.0.0 > > > Install & Verify > ===============> > Follow these steps to install Instant Rails and verify that it is working > properly: > > * Download and unzip the Instant Rails zip file. > > * Start InstantRails?.exe. > > * Instant Rails will detect that it is being started from a new > directory and ask if you want to have it update the paths in the > all of the configuration files... Just say yes. > > * Click on the I button to drop down the main menu and select > Configure > Windows Hosts file. > > * In the editor that pops up, add this line to the end of the file: > > 127.0.0.1 <http://127.0.0.1> http://www.mycookbook.com > > * Save the change and exit the editor. > > * In the main menu, select Rails Applications > Manage Rails > Applications... > > * Check the checkbox next to the cookbook application. > > * Click on the Start SCGI button. > > * Once the SCGI server says that it is listening to 127.0.0.1:9999<http://127.0.0.1:9999>, > open > our browser and go to: > > http://www.mycookbook.com > > You should now be using a running Rails application! Poke around in the > menus > to see what''s there. > > Desired Changes for 1.0 Release > ==============================> > * Use Apache2 instead of Apache 1.3 > > * Run SCGI Rails Runner in the background as a service. > > * Allow mutliple SCGI Rails Runner processes to service requests for > a single Rails application. SRR already allows this on Linux, but > it still needs to be implemented on Windows. > > * Use the C-based MySQL driver for for Ruby (currently the > Ruby-based driver is used). > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails