我同时使用Chrome和Firefox访问网站,但得到的结果是这样的错误
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
谁能告诉我我哪里做错了?任何帮助和建议都将是值得欣赏的。
我正在尝试使用Django网站地图。
class BlogSiteMap(Sitemap):
"""A simple class to get sitemaps for blog"""
changefreq = 'hourly'
priority = 0.5
def items(self):
return Blog.objects.order_by('-pubDate')
def lastmod(self, obj):
return ob