Tuesday, May 29, 2012

[Rails] Re: Setting Up A Rails App With Passenger

You can also look into pow http://pow.cx/, so you don't have to worry about configuring your sites at all.
Just install it, install the powder gem, go to your app folder and type 'powder link' and your site will be available at http://yourappname.dev
pretty slick.


On Monday, May 28, 2012 7:21:13 AM UTC-5, Matt Jones wrote:


On Sunday, 27 May 2012 17:33:43 UTC-4, Nick Apperley wrote:
Been trying to get Passenger installed and setup to run a rails app.
Everytime I goto eaa.mysite.com in Firefox the web browser goes out to
the Internet instead of serving up the website. Why does this occur?

Below is part of the configuration for apache2.conf:

=======================================================
# Setup a virtual host for the rails apps to run in.
<VirtualHost *:80>
    # ServerName www.myhost.com
    ServerName eaa.mysite.com


For this to work locally, you'll need to point DNS for eaa.mysite.com at your local IP. Adding a line like this to /etc/hosts should do the trick:

127.0.0.1  eaa.mysite.com

--Matt Jones
 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/5qhtQrc_ed0J.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate