stopping a 'silent' redirect with php/fcgi
Jonathan Vanasco
nginx at 2xlp.com
Tue Apr 10 23:55:02 MSD 2007
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
> what do you get with
> http://www.domain.com/Path/To/xxx?a=123
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.
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
| 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
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
More information about the nginx
mailing list