Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #2357 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

WSGI script_name variable not taken into account when dispatching a request

Reported by: dfalk Owned by:
Priority: normal Milestone:
Component: TurboGears Version: 2.1a1
Severity: normal Keywords: wsgi, script_name
Cc:

Description

When deploying a tg2 app to a wsgi non-root wsgi path (e.g., /myapp), the dispatcher tries to use the entire path, e.g., /myapp/index instead of accounting for script_name and dispatching with /index instead

Attachments

ScriptNameDispatchFix Download (935 bytes) - added by dfalk 5 years ago.
Possible fix

Change History

Changed 5 years ago by dfalk

Possible fix

comment:1 Changed 5 years ago by percious

  • Status changed from new to closed
  • Version changed from 2.0b7 to 2.1a1
  • Resolution set to fixed

We may/may not want to backport this to 2.0

See  http://bitbucket.org/turbogears/tg-dev/changeset/7f3dbe3e81e9/

Note: See TracTickets for help on using tickets.