#1213: incomplete support for changing server.webpath
------------------------+---------------------------------------------------
Reporter: nludban | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: unassigned | Version: 1.0b2
Severity: normal | Keywords:
------------------------+---------------------------------------------------
A TG quickstart application doesn't work out of the box when the
application
root is changed (eg, proxied behind Apache as part of a larger site).
Several issues to be resolved:
1. master.kid does not use tg.url(), so images are not shown in the
welcome page
1. /index needs to be redirected, otherwise relative link errors are
silently caught by Apache
1. raise redirect('/foo') implies redirect(url('/foo')), which prevents
the TG app from redirecting to other parts of the larger site
1. documentation needed for recommended and consistent proxy
configuration
1. setting server.webpath should return errors for requests outside
webpath, that way missing tg.url()s can be caught in standalone mode
before moving behind Apache
1. set server.webpath by default so TG developers and users are aware of
the requirements for moving the application root
I'm working on patches, will add them when tested.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1213>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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/turbogears-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---