8 messages in ru.sysoev.nginxRe: configuring nginx for different r...
FromSent OnAttachments
Archana BalajiNov 20, 2007 11:10 pm 
Cliff WellsNov 21, 2007 12:05 am 
Igor SysoevNov 21, 2007 12:24 am 
amith amithNov 24, 2007 12:40 am 
Igor SysoevNov 24, 2007 1:00 am 
amith amithNov 25, 2007 9:14 am 
Brandon HoultFeb 22, 2008 12:45 pm 
Brandon HoultFeb 22, 2008 1:07 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: configuring nginx for different rails apps under same doActions...
From:amith amith (list@public.gmane.org)
Date:Nov 25, 2007 9:14:51 am
List:ru.sysoev.nginx

Igor Sysoev wrote:

On Sat, Nov 24, 2007 at 09:41:19AM +0100, amith amith wrote:

as i'm able to go in my home page but not able to navigate from login

<http://domain.com/main/home>

I want it to be redirected to

<http://domain.com/app1/>

how do i redirect it using nginx???

I do not understand the question. I do not know typical rails URLs. Could you write how should the URLs be mapped ? For example,

outside world: Rails:

domain.com/app1/ > www.domain.com/main/home domain.com/app1/login > www.domain.com/main/login

domain.com/app2/ > www.domain.com/main2/home

domain.com/app3/ > www.domain.com/main3/home

the redirecting should be as follows:

outside world: Rails:

domain.com/app1/ > www.domain.com/app1/main/home domain.com/app1/account/login > www.domain.com/app1/account/login after logging in should be redirected to > www.domain.com/app1/

domain.com/app2 > www.domain.com/app2/main/home

domain.com/app3 > www.domain.com/app3/main/home

i hope u'r able to understand from the above example.