On 7/1/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
>
> > Another solution is storing your xml file as project/static/sitemap.xml
> > and then using this:
> >
> > @expose()
> > def sitemap_xml(self):
> > raise turbogears.redirect('/static/sitemap.xml')
>
> Forget that. Elvelind's solution putting the following in the app.cfg
> file is much better since it doesn't require a redirect:
>
Indeed I have pasted it on the docs so people could find it later
http://docs.turbogears.org/1.0/RoughDocs/ServingFilesFromRoot
>
> -- Chris
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---