Re: a problem when PATH_INFO == SCRIPT_NAME

2012-05-28 Thread heng zhao
I read the comment in https://code.djangoproject.com/ticket/8490, I found someone met the same problem 3years ago. why don't merge it into chunk? On Mon, May 28, 2012 at 2:56 PM, heng zhao wrote: > I'm using Django-1.4 and nginx with fastcgi mode. > when I use runserver  mode everything goes we

a problem when PATH_INFO == SCRIPT_NAME

2012-05-28 Thread heng zhao
I'm using Django-1.4 and nginx with fastcgi mode. when I use runserver mode everything goes well, But in nginx & fastcgi ,whatever URL i visit, I get a response "/" I trace the code and found that , when PATH_INFO == SCRIPT_NAME, path_info has been set to u'/' (core/handlers/wsgi.py WSGIRequest