Hi Robert, thanks for your response. thanks for clarifying that I don't have to touch apache and passenger for this. yes, this is purely for local development purposes only. Of course, when I host it externally, i will have separate domain names.
since, i want to create multiple rails apps in my localhost, i want to esnure that i am taking atleast a simple path. It is a big relief to know that i don't have to tweak these apache2 config files. thanks a ton! (and sorry if u felt that this was off topic originally. but i really wanted to get the rails developers point of view..as i am on the road to developing two different rails apps in my local machine) - thanks, radha. Robert Walker wrote: > RailsFan Radha wrote: >> >> Env: In VirtualBox / Ubuntu Lucid / current stable version of Ruby on >> Rails / Apache2 / Passenger > > I wouldn't consider this question on-topic for this forum. You're > questions aren't Rails related, but rather Apache & Passenger related. > > If you intend to deploy using Apache/Passenger then go find the > appropriate documentation or forums to set those up correctly. > > If you simply want to run two instances of Rails on you local > (development) box then you can just run them on different ports: > > firstapp: > ./script/server (port defaults to 3000) > > secondapp > ./script/server -p 3001 > > In this configuration Apache/Passenger aren't needed at all. This is > standard practice for how I run my Rails applications in development. > > When it's time to deploy for other people to use then Apache/Passenger > is a great way to do that (although not the only way). At this point, > however, you will need proper domain names for your different sites. No > user is going to want to have to use any other port besides the default > 80. So to run multiple sites on one box you need to give them either > different domains or run them under different subdomains. -- Posted via http://www.ruby-forum.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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

