On Aug 30, 11:07 pm, Jason Cui <[EMAIL PROTECTED]> wrote:
> When I update django SVN yestoday, about from 0.97 to 1.0 beta2, the
> function request.get_full_path() return wrong value sometimes. When I
> locate urlhttp://domain/detail/list/, this function return /main.fcgi/
> detail/list/, but should be /detail/list/.
>
> Who can tell me why? Now I have to add replace function to this value.
>
> My server config: django+fastcgi 1.4.18+fastcgi, the main.fcgi file in
> the public directory only has on line:
> export DJANGO_SETTINGS_MODULE=web.settings_fastcgi

Do you have FORCE_SCRIPT_NAME = '' in your settings.py file? See
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#ChangedthewayURLpathsaredetermined
and 
http://www.djangoproject.com/documentation/fastcgi/#forcing-the-url-prefix-to-a-particular-value
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to