Ruby on Rails Saturday, September 29, 2012

When you say domain. Com in the apache configuration than only apache is aware of this domain. Firefox just uses the standard way and try to look up that name via DNS. Since it can't find anything it says that there is nothing. You have to use local host instead or add that domain to your /etc/hosts file.

But only touch hosts when you know what you are doing. In any other case change your apache conference to use local host and use local host in the browser.

But when developing local it is better to use rails s or a passenger standalone and start it via console when needed. You only need to configure mod.rails local when you want to serve an intranet Page. And that you should only do when you know what you are doing again.

But if you insist, I think we can help you to get it running.

Am 29.09.2012 12:44 schrieb "Mandeep Kaur" <meghasimak@gmail.com>:
On Sat, Sep 29, 2012 at 2:26 PM, Norbert Melzer <timmelzer@gmail.com> wrote:
> Please give us a little bit more information, doesn't work is somewhat
> wage...

Ok

> What error messages do you get, the show us the bits of your configuration.

I have created a virtual link for railsapp/public folder virtual
hosting as mentioned in below link.
http://articles.slicehost.com/2009/2/2/ubuntu-intrepid-using-mod_rails-to-serve-your-application

Then it creates domain.com or www.domain.com for rails app. but when I
open this in browser its not working. Look at the image.

According to me, it should shows rails application but its not doing that.

> Which Version of Ubuntu are you running?

I am using Ubuntu 12.04, Phusion Passenger Application Server and Apache Server
I just want to know how to start Rails app with passenger and apache
without starting it with Webrick(Default app. server).

Now can you help me?


--
Mandeep Kaur
http://mandeepsimak.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
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 https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
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 https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment