> 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:

[/sitemap.xml]
static_filter.on = True
static_filter.file = "%(top_level_dir)s/static/sitemap.xml"

-- Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to turbogears@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to