Actions
Feature #1730
closedProvide a way to work out the script URL prefix
ASK QUESTIONS IN Forums:
Description
http://www.djangoproject.com/documentation/fastcgi/ (at the bottom):
"Django makes a good attempt to work out what the real script name prefix should be. In particular, if the webserver sets the SCRIPT_URL (specific to Apache’s mod_rewrite), or REDIRECT_URL (set by a few servers, including Apache + mod_rewrite in some situations), Django will work out the original prefix automatically."
See also http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#lighttpdfastcgiandothers
This workaround shouldn't be necessary, so I suggest to provide a way for Django to work out the script URL prefix.
-- Thomas Steinacher <tom
Updated by gstrauss over 8 years ago
- Description updated (diff)
- Assignee deleted (
jan) - Missing in 1.5.x set to Yes
lighttpd 1.4.40 provides REDIRECT_URI if mod_rewrite changes the URL.
Actions
Also available in: Atom