From: Zangs Dev Date: 2008-07-01T19:46:56+09:00 Subject: Re: How can I run url without using port ? Thanks Jano for the reply and help... My application is written in Ruby ON RAILS... My problem is... I don't want to use port anymore in my url... for ex. I want to run my sites like >> http://www.mydomain.com/first_app OR http://www.mydomain.com/ Without using port... So please help me.. Thanks again... Jano Svitok wrote: > On Tue, Jul 1, 2008 at 12:04, Zangs Dev wrote: >>> And for the 2nd application I have shutdown the service for first one >>> and then have to start service for 2nd app. >>> And have to use same url http://www.mydomain.com:3000/ >>> >>> Any one can help me what should I do if I want to run the url like >>> http://www.mydomain.com/first_app >>> >>> http://www.mydomain.com/second_app > > Hi, > > 1. is your application written in Ruby ON RAILS? This question is > important because > there are many frameworks for this and the solution to your problem > depends on the framwork used. > > 2. If it is rails indeed, you might want to check Rails-specific forum > (google for rails-talk) > There are people with specific knowledge that can help you better. > > 3. If it is rails: for start, edit your environment.rb so that you use > different ports for your apps. 3000 for the first, > 3001 for the second, etc. To use /first_app, etc. you need to have > another server proxying the requests to your apps. > There are a lot of tutorials out there. GIYF, keywords: rails multiple > apps, more keywords: mongrel, reverse proxy, load balancer, ngnix, > lighttpd > > J. -- Posted via http://www.ruby-forum.com/.