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:Jonathan Vanasco (ngin@public.gmane.org)
Date:Apr 10, 2007 12:54:39 pm
List:ru.sysoev.nginx

On Apr 10, 2007, at 3:38 PM, Aleksandar Lazic wrote:

Hi,

On Die 10.04.2007 11:44, 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/

Is this a dir?!

no, an index.php , with the nginx index option configured to serve as such

fails as expected ( pulls the 404 )

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

have you looked with debug on?!

good idea. i'll debug tonight -- a more pressing matter just came up.

thanks for the suggestion.

though i think a better explanation of issue is this:

Given the directory "/webroot/Path/To/" which only has a file "index.php"

Apache/Lighttpd/etc will all treat

http://www.domain.com/Path/To?a=1 http://www.domain.com/Path/To/?a=1 As http://www.domain.com/Path/To/index.php?a=1

Nginx will treat:

http://www.domain.com/Path/To/?a=1 As http://www.domain.com/Path/To/index.php?a=1

And will treat http://www.domain.com/Path/To?a=1 as redirect( http://www.domain.com/Path/To/ )

again, i'll post debug info this evening.

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | SyndiClick.com | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -