On Tuesday 03 February 2009 00:27:48 James wrote: > Hi all, > Is there a convenient way to work out what the URL of the current > application is? Netloc, port and context root?
No. It could be deployed as WSGI-app inside an apache, and that inside a VHost. You can't possibly deduce that. Make it a configuration variable. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

