I am trying to run instant rails on windows xp SP2. I can get the cookbook and typo sample sites to work with webrick but not with scgi. When i click the start with scgi i get a blank dos window and typing www.mycookbook.com returns Firefox can''t establish a connection to the server at www.mycookbook.com. This suggests that apache is not even running even though the green light is on for apache and mysql. The apache access and error logs are also blank. If i click the apache.exe in the apache folder inside instant rails a dos window is displayed saying Apache/1.3 ......mod_scgi 1.7 running..... If i type www.mycookbook.com into the browser i get Firefox can''t establish a connection to the server at www.mycookbook.com. Ive had a look in the readme file inside instant rails and it says the following Apache for Microsoft Windows 2000, NT, 98, and 95 systems. Like the Unix version, it includes many frequently Is instant rails with aoache/scgi supposed to run on windows xp? Can anyone help, ive being trying this for days without success??? -- Posted via http://www.ruby-forum.com/.
Try to access the server using its local IP address: http://127.0.0.1 Gael On 15/04/06, John Butler <johnnybutler7@gmail.com> wrote:> I am trying to run instant rails on windows xp SP2. I can get the > cookbook and typo sample sites to work with webrick but not with scgi. > > When i click the start with scgi i get a blank dos window and typing > www.mycookbook.com returns > > Firefox can''t establish a connection to the server at > www.mycookbook.com. > > This suggests that apache is not even running even though the green > light is on for apache and mysql. > > The apache access and error logs are also blank. > > If i click the apache.exe in the apache folder inside instant rails a > dos window is displayed saying > > Apache/1.3 ......mod_scgi 1.7 running..... > > If i type www.mycookbook.com into the browser i get > Firefox can''t establish a connection to the server at > www.mycookbook.com. > > Ive had a look in the readme file inside instant rails and it says the > following > > Apache for Microsoft Windows 2000, NT, 98, and 95 > systems. Like the Unix version, it includes many frequently > > Is instant rails with aoache/scgi supposed to run on windows xp? > > Can anyone help, ive being trying this for days without success??? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
I run it on XP SP2. You may not be waiting long enough for the SCGI process to get Rails and the web app loaded and ready to go. It takes about 30 seconds on my system. I usually watch my cpu-in-use cycles go up when I start the SCGI process, and when it drops back to zero I know its ready. Its unfortunate that the SCGI process doesn''t display any status (like WEBrick) to let you know what''s happening. Curt PS I''m assuming that you added the appropriate entries to your windows HOSTS file. On 4/15/06, John Butler <johnnybutler7@gmail.com> wrote:> I am trying to run instant rails on windows xp SP2. I can get the > cookbook and typo sample sites to work with webrick but not with scgi. > > When i click the start with scgi i get a blank dos window and typing > www.mycookbook.com returns > > Firefox can''t establish a connection to the server at > www.mycookbook.com. > > This suggests that apache is not even running even though the green > light is on for apache and mysql. > > The apache access and error logs are also blank. > > If i click the apache.exe in the apache folder inside instant rails a > dos window is displayed saying > > Apache/1.3 ......mod_scgi 1.7 running..... > > If i type www.mycookbook.com into the browser i get > Firefox can''t establish a connection to the server at > www.mycookbook.com. > > Ive had a look in the readme file inside instant rails and it says the > following > > Apache for Microsoft Windows 2000, NT, 98, and 95 > systems. Like the Unix version, it includes many frequently > > Is instant rails with aoache/scgi supposed to run on windows xp? > > Can anyone help, ive being trying this for days without success??? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
i m waiting long enough for the scgi process to get rails and the web app loaded. I have followed the instructions at the link below and tried some of the common problems without success. I have had IIS running on this machine but i have disabled it and changed the port number it listens on. I have norton internet security, could it be something to do with the firewall? http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started I am still getting the following below, Unable to connect Firefox can''t establish a connection to the server at www.mycookbook.com. -- Posted via http://www.ruby-forum.com/.
Can''t hurt to try it with the firewall disabled. Curt On 4/16/06, John Butler <johnnybutler7@gmail.com> wrote:> i m waiting long enough for the scgi process to get rails and the web > app loaded. I have followed the instructions at the link below and > tried some of the common problems without success. I have had IIS > running on this machine but i have disabled it and changed the port > number it listens on. I have norton internet security, could it be > something to do with the firewall? > > http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started > > I am still getting the following below, > > Unable to connect > > Firefox can''t establish a connection to the server at > www.mycookbook.com. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Hey John, I had the same issue with instant rails on Windows XP w/SP2 but I simply switched to using Webrick for development purposes because I plan to use the setup that my hosting company has selected for running Rails apps. After that, I setup RadRails 0.6.2 and I''m good to go. However, it would have been nice to get it working but I need to generate an application and I''ll revisit this in the near future. Peace, -Conrad On 4/16/06, Curt Hibbs <ml.chibbs@gmail.com> wrote:> > Can''t hurt to try it with the firewall disabled. > > Curt > > On 4/16/06, John Butler <johnnybutler7@gmail.com> wrote: > > i m waiting long enough for the scgi process to get rails and the web > > app loaded. I have followed the instructions at the link below and > > tried some of the common problems without success. I have had IIS > > running on this machine but i have disabled it and changed the port > > number it listens on. I have norton internet security, could it be > > something to do with the firewall? > > > > http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started > > > > I am still getting the following below, > > > > Unable to connect > > > > Firefox can''t establish a connection to the server at > > www.mycookbook.com. > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060417/fe08a563/attachment.html
I think ive tried everything. I think i will install apache/mysql etc separetly and go down that route. I used rad rails with eclipse using webrick for development without any problems. I have a spare machine here so i''m looking to deploy my site on this machine that is running windows SP2. Is apache the best solution for ROR deployment on windows xp s2 or ive heard some stuff on light server or can webrick be used for ROR deployment? -- Posted via http://www.ruby-forum.com/.
I couldn''t ever get the Instant Rails install to work properly. MySQL came up fine, I couldn''t figure out all the config. Just went back to using webrick. On 4/17/06, John Butler <johnnybutler7@gmail.com> wrote:> > I think ive tried everything. I think i will install apache/mysql etc > separetly and go down that route. I used rad rails with eclipse using > webrick for development without any problems. I have a spare machine > here so i''m looking to deploy my site on this machine that is running > windows SP2. > > Is apache the best solution for ROR deployment on windows xp s2 or ive > heard some stuff on light server or can webrick be used for ROR > deployment? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060418/142bf8f7/attachment-0001.html
WEBrick is what you want to be using for most development, then move to Apache when you want to test/develop in an environment that is closer to what you''ll have in production. Curt On 4/18/06, Scott <scott.and.kim@gmail.com> wrote:> I couldn''t ever get the Instant Rails install to work properly. MySQL came > up fine, I couldn''t figure out all the config. Just went back to using > webrick. > > > > On 4/17/06, John Butler <johnnybutler7@gmail.com> wrote: > > I think ive tried everything. I think i will install apache/mysql etc > > separetly and go down that route. I used rad rails with eclipse using > > webrick for development without any problems. I have a spare machine > > here so i''m looking to deploy my site on this machine that is running > > windows SP2. > > > > Is apache the best solution for ROR deployment on windows xp s2 or ive > > heard some stuff on light server or can webrick be used for ROR > > deployment? > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >