Project

General

Profile

Actions

Feature #1730

closed

Provide a way to work out the script URL prefix

Added by Anonymous over 15 years ago. Updated almost 8 years ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_fastcgi
Target version:
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

Actions #1

Updated by gstrauss almost 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 #2

Updated by gstrauss almost 8 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom