get correct hostname from wsgi environment
Merge branch 'sitemap'