Ken Barker
2005-Oct-12 01:43 UTC
[Instantrails-users] www.mycookbook.com not working - just shows apache page
Curt, This is really, really cool.... On hiccup for me though. All was well until I went to manage the cookbook application. The Start SCGI command gave the following output: D:\INSTAN~1\rails_apps\cookbook>..\..\ruby\bin\ruby.exe script\scgi_rails start -p 9999 -e production -D ERROR: Could not setup a SIGHUP handler. You won''t be able to get status. Listening for connections on 127.0.0.1:9999 <http://127.0.0.1:9999> Surfing to www.mycookbook.com <http://www.mycookbook.com> in my browser yielded an Apache Test page indicating that it is running correctly. No cookbook... Any ideas? WinXP Thanks. Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051011/a90e7002/attachment.htm
Curt Hibbs
2005-Oct-12 02:28 UTC
[Instantrails-users] www.mycookbook.com not working - just shows apache page
Did you edit your HOSTS file and add the line: 127.0.0.1 <http://127.0.0.1> www.mycookbook.com <http://www.mycookbook.com> Is you browse configured to use a proxy server? If so, make sue you''ve got the checkbox checked to now use the proxy for local addresses (this is an IE setting). Or better yet, as an experiment set you internet connection temporarily to "direct connection" and then see if it works. Curt On 10/11/05, Ken Barker <ken.barker at gmail.com> wrote:> > Curt, > > This is really, really cool.... > > On hiccup for me though. All was well until I went to manage the cookbook > application. The Start SCGI command gave the following output: > > > D:\INSTAN~1\rails_apps\cookbook>..\..\ruby\bin\ruby.exe script\scgi_rails > start -p 9999 -e production -D > ERROR: Could not setup a SIGHUP handler. You won''t be able to get status. > Listening for connections on 127.0.0.1:9999 <http://127.0.0.1:9999> > > Surfing to www.mycookbook.com <http://www.mycookbook.com> in my browser > yielded an Apache Test page indicating that it is running correctly. No > cookbook... > > Any ideas? > > WinXP > > Thanks. > > Ken > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051011/538c2f07/attachment.htm
Ken Barker
2005-Oct-12 02:40 UTC
[Instantrails-users] www.mycookbook.com not working - just shows apache page
On 10/11/05, Curt Hibbs <curt.hibbs at gmail.com> wrote:> > Did you edit your HOSTS file and add the line: > > 127.0.0.1 <http://127.0.0.1> www.mycookbook.com<http://www.mycookbook.com>Yes. Edited the file IRails opened for me. Is you browse configured to use a proxy server? If so, make sue you''ve got> the checkbox checked to now use the proxy for local addresses (this is an IE > setting). Or better yet, as an experiment set you internet connection > temporarily to "direct connection" and then see if it works.Direct connection already using FireFox. Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051011/332516f8/attachment.htm
Curt Hibbs
2005-Oct-12 03:09 UTC
[Instantrails-users] www.mycookbook.com not working - just shows apache page
On 10/11/05, Ken Barker <ken.barker at gmail.com> wrote:> > On 10/11/05, Curt Hibbs <curt.hibbs at gmail.com> wrote: > > > > Did you edit your HOSTS file and add the line: > > > > 127.0.0.1 <http://127.0.0.1> www.mycookbook.com<http://www.mycookbook.com> > > > Yes. Edited the file IRails opened for me. > > Is you browse configured to use a proxy server? If so, make sue you''ve got > > the checkbox checked to now use the proxy for local addresses (this is an IE > > setting). Or better yet, as an experiment set you internet connection > > temporarily to "direct connection" and then see if it works. > > > Direct connection already using FireFox. >Hmm... this is strange. The reason for using virtual hosts in the apache config file is so that you can ave multiple rails apps running at the same time. Let''s try making the cookbook app be the one and only (i.e., the default) virtual host. Edit your apache config file (menu: Configure >> Apache). At the very end of the file you''ll see two virtual host definitions. One for localhost and one for cookbook. Delete the one for localhost and save the file. Restart apache and try browing to: http://localhost/ or http://127.0.0.1/ Does that work? Curt PS What version of Windows are you using? I should have mentioned that this only works with Windows 2000 or newer. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051011/842e7107/attachment.htm
Curt Hibbs
2005-Oct-12 11:04 UTC
[Instantrails-users] www.mycookbook.com not working - just shows apache page
Ken, do you have Administrator priviledges on your machine? Not having them would prevent you from being able to save the HOSTS file and would explain you problem. Curt On 10/11/05, Curt Hibbs <curt.hibbs at gmail.com> wrote:> > On 10/11/05, Ken Barker <ken.barker at gmail.com> wrote: > > > > On 10/11/05, Curt Hibbs <curt.hibbs at gmail.com> wrote: > > > > > > Did you edit your HOSTS file and add the line: > > > > > > 127.0.0.1 <http://127.0.0.1> www.mycookbook.com<http://www.mycookbook.com> > > > > > > Yes. Edited the file IRails opened for me. > > > > Is you browse configured to use a proxy server? If so, make sue you''ve > > > got the checkbox checked to now use the proxy for local addresses (this is > > > an IE setting). Or better yet, as an experiment set you internet connection > > > temporarily to "direct connection" and then see if it works. > > > > > > Direct connection already using FireFox. > > > > Hmm... this is strange. > > The reason for using virtual hosts in the apache config file is so that > you can ave multiple rails apps running at the same time. Let''s try making > the cookbook app be the one and only (i.e., the default) virtual host. > > Edit your apache config file (menu: Configure >> Apache). At the very end > of the file you''ll see two virtual host definitions. One for localhost and > one for cookbook. Delete the one for localhost and save the file. > > Restart apache and try browing to: > > http://localhost/ > > or > > http://127.0.0.1/ > > Does that work? > > Curt > > PS > What version of Windows are you using? I should have mentioned that this > only works with Windows 2000 or newer. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051012/eb66c3ee/attachment-0001.htm
Ken Barker
2005-Oct-12 11:53 UTC
[Instantrails-users] www.mycookbook.com not working - just shows apache page
Curt, I am on WinXP Pro with Administrator privileges... Will try the Apache config this evening when I get home. Thanks. Ken On 10/12/05, Curt Hibbs <curt.hibbs at gmail.com> wrote:> > Ken, do you have Administrator priviledges on your machine? Not having > them would prevent you from being able to save the HOSTS file and would > explain you problem. > > Curt > > On 10/11/05, Curt Hibbs <curt.hibbs at gmail.com> wrote: > > > > On 10/11/05, Ken Barker <ken.barker at gmail.com> wrote: > > > > > > On 10/11/05, Curt Hibbs <curt.hibbs at gmail.com> wrote: > > > > > > > > Did you edit your HOSTS file and add the line: > > > > > > > > 127.0.0.1 <http://127.0.0.1> www.mycookbook.com<http://www.mycookbook.com> > > > > > > > > > Yes. Edited the file IRails opened for me. > > > > > > Is you browse configured to use a proxy server? If so, make sue you''ve > > > > got the checkbox checked to now use the proxy for local addresses (this is > > > > an IE setting). Or better yet, as an experiment set you internet connection > > > > temporarily to "direct connection" and then see if it works. > > > > > > > > > Direct connection already using FireFox. > > > > > > > Hmm... this is strange. > > > > The reason for using virtual hosts in the apache config file is so that > > you can ave multiple rails apps running at the same time. Let''s try making > > the cookbook app be the one and only (i.e., the default) virtual host. > > > > Edit your apache config file (menu: Configure >> Apache). At the very > > end of the file you''ll see two virtual host definitions. One for localhost > > and one for cookbook. Delete the one for localhost and save the file. > > > > Restart apache and try browing to: > > > > http://localhost/ > > > > or > > > > http://127.0.0.1/ > > > > Does that work? > > > > Curt > > > > PS > > What version of Windows are you using? I should have mentioned that this > > only works with Windows 2000 or newer. > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051012/12adcc2e/attachment.htm
Ken Barker
2005-Oct-13 02:37 UTC
[Instantrails-users] www.mycookbook.com not working - just shows apache page
On 10/11/05, Curt Hibbs <curt.hibbs at gmail.com> wrote:> > Edit your apache config file (menu: Configure >> Apache). At the very end > of the file you''ll see two virtual host definitions. One for localhost and > one for cookbook. Delete the one for localhost and save the file. > > Restart apache and try browing to: > > http://localhost/ > > or > > http://127.0.0.1/ > > Does that work? >This did not solve the problem. I did find the issue while making and testing this change. I had another Apache running. Apache 2... It must have caused some conflict when I tried to hit the www.mycookbook.com<http://www.mycookbook.com>url. All is well. Thanks. Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051012/ca155129/attachment.htm
Curt Hibbs
2005-Oct-13 02:41 UTC
[Instantrails-users] www.mycookbook.com not working - just shows apache page
Excellent! On 10/12/05, Ken Barker <ken.barker at gmail.com> wrote:> > On 10/11/05, Curt Hibbs <curt.hibbs at gmail.com> wrote: > > > > Edit your apache config file (menu: Configure >> Apache). At the very > > end of the file you''ll see two virtual host definitions. One for localhost > > and one for cookbook. Delete the one for localhost and save the file. > > > > Restart apache and try browing to: > > > > http://localhost/ > > > > or > > > > http://127.0.0.1/ > > > > Does that work? > > > > This did not solve the problem. I did find the issue while making and > testing this change. I had another Apache running. Apache 2... It must have > caused some conflict when I tried to hit the www.mycookbook.com<http://www.mycookbook.com>url. > > All is well. > > Thanks. > > Ken > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20051012/dc8bbad3/attachment.htm