TechG1rl
22nd November 2007, 17:54
Hi all,
I am hoping someone can help me figure this out..
I followed Falkos howto here:
http://www.howtoforge.com/ruby_on_rails_debian_etch_p2
and installed Ruby on Rails on my Feisty Fawn Ubuntu.. the instructions were the same :) However, I also followed a Howtoforge article on how to get your apache webserver up and running on Feisty Fawn like 6 months ago... and I am using the webserver to host just a family and friends little website with pics of the family to share with the family.. on port 80.
I set up the default virtual machine file: /etc/apache2/sites-available/default
so that it has 2 virtual machines listed, my original family site on port 80, and the ruby on rails application to run off port 1080.
I only have port 80 open on the router.. so I am trying to view ruby on rails internally only from my main computer... my apache webserver till last night was headless and I just use putty or winscp to make changes.
from my main computer I can go to the internal address http://192.168.0.100:1080/ and see the "welcome aboard" message.
I tried to create the Hello World tutorial from another site.. it was based on ruby on windows though.. so I modified for Feisty Fawn..
I go to http://192.168.0.10:1080/My_Test
and it says "Page cannot be displayed"
I started to modify things again to try to get it to work, after many times restarting apache webserver
restart /etc/apache2/init.d
*also it gives me an error about my default file having 2 virtual machines listed, but then says [ok] and I can open the home website no problems there.. I can open the "Welcome Aboard" page too. *
in the tutorial it keeps talking about port 3000 and localhost...
so I pull out the kvm switch and log into the desktop on Feisty Fawn pc..
I go to 127.0.0.1:1080 - my home website (not the Welcome aboard ruby on rails it should be)
127.0.0.1:3000 - page cannot be displayed
seems I had to start webBrick on Ruby to get the page on
ruby script/server (sorry I don't remember that one off the top of my head)
127.0.0.1:3000 - "Hello World!!"
http://127.0.0.1:3000/My_Test - works if webBrick is running
So, after a long winded explanation, the big question is how to get http://192.168.0.10:1080/My_Test to work running off the Apache Webserver rather than the webBrick server.
Feisty Fawn is running on an older P3 Dell Optiplex desktop tower.
256MB RAM
This is the info that shows on localhost if I type in a page that does not exist, I am thinking it may be helpful:
Apache 2.2.3
php/5.2.1
mod_ruby/1.2.6
Ruby/1.8.5(2006-08-25)
mod_ssl/2.2.3
open_ssl/0.9.8c
I am hoping someone can help me figure this out..
I followed Falkos howto here:
http://www.howtoforge.com/ruby_on_rails_debian_etch_p2
and installed Ruby on Rails on my Feisty Fawn Ubuntu.. the instructions were the same :) However, I also followed a Howtoforge article on how to get your apache webserver up and running on Feisty Fawn like 6 months ago... and I am using the webserver to host just a family and friends little website with pics of the family to share with the family.. on port 80.
I set up the default virtual machine file: /etc/apache2/sites-available/default
so that it has 2 virtual machines listed, my original family site on port 80, and the ruby on rails application to run off port 1080.
I only have port 80 open on the router.. so I am trying to view ruby on rails internally only from my main computer... my apache webserver till last night was headless and I just use putty or winscp to make changes.
from my main computer I can go to the internal address http://192.168.0.100:1080/ and see the "welcome aboard" message.
I tried to create the Hello World tutorial from another site.. it was based on ruby on windows though.. so I modified for Feisty Fawn..
I go to http://192.168.0.10:1080/My_Test
and it says "Page cannot be displayed"
I started to modify things again to try to get it to work, after many times restarting apache webserver
restart /etc/apache2/init.d
*also it gives me an error about my default file having 2 virtual machines listed, but then says [ok] and I can open the home website no problems there.. I can open the "Welcome Aboard" page too. *
in the tutorial it keeps talking about port 3000 and localhost...
so I pull out the kvm switch and log into the desktop on Feisty Fawn pc..
I go to 127.0.0.1:1080 - my home website (not the Welcome aboard ruby on rails it should be)
127.0.0.1:3000 - page cannot be displayed
seems I had to start webBrick on Ruby to get the page on
ruby script/server (sorry I don't remember that one off the top of my head)
127.0.0.1:3000 - "Hello World!!"
http://127.0.0.1:3000/My_Test - works if webBrick is running
So, after a long winded explanation, the big question is how to get http://192.168.0.10:1080/My_Test to work running off the Apache Webserver rather than the webBrick server.
Feisty Fawn is running on an older P3 Dell Optiplex desktop tower.
256MB RAM
This is the info that shows on localhost if I type in a page that does not exist, I am thinking it may be helpful:
Apache 2.2.3
php/5.2.1
mod_ruby/1.2.6
Ruby/1.8.5(2006-08-25)
mod_ssl/2.2.3
open_ssl/0.9.8c