4 messages in ru.sysoev.nginxRe: stopping a 'silent' redirect with...
FromSent OnAttachments
Jonathan VanascoApr 10, 2007 8:44 am 
Aleksandar LazicApr 10, 2007 12:38 pm 
Igor SysoevApr 10, 2007 12:48 pm 
Jonathan VanascoApr 10, 2007 12:54 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: stopping a 'silent' redirect with php/fcgiActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Apr 10, 2007 12:48:45 pm
List:ru.sysoev.nginx

On Tue, Apr 10, 2007 at 11:44:36AM -0400, Jonathan Vanasco wrote:

This has been killing me, trying to figure out what was going on:

http://www.domain.com/Path/To?a=123

Is always redirected (302) to

http://www.domain.com/Path/To/

But

http://www.domain.com/Path/To/?a=123

works fine.

can anyone offer me a suggestion as to where i can keep this from happening ?

This seems to happen within nginx itself -- however i can't find any settting that would cause this.

Probably your configuration is similar to

location /Path/To/ { fastcgi_pass ... }

then nginx does such redirect for "/Path/To". In my practice it's handy feature. However, if you do not need it, then you should use:

location = /Path/To { fastcgi_pass ... }

location /Path/To/ { fastcgi_pass ... }