On Sat, Sep 26, 2009 at 11:15 AM, troyhitch <troyhi...@gmail.com> wrote:
> > Hi everyone - > > I have deployed two django sites on the same server, with identical > configs (apache, mod_wsgi) and have added this to each of their > settings.py: > > IGNORABLE_404_STARTS = ('/cgi-bin/',) > IGNORABLE_404_ENDS = ('favicon.ico','.php','robots.txt') > > It works perfectly for one site, but not at all for the other. I'm > still getting deluged with /favicon.ico and robots.txt 404 emails: but > for only one of the sites. I'm not overriding anything in a local > settings file. Am I missing something server side? Or maybe even DNS- > wise? > > Thanks, > Troy > The ignorable 404s only include the urls without the trailing slash. When you have the APPEND_SLASH setting on in django(by default) the request to robots.txt is redirected to robots.txt/. You'll have to add that url to the Ingorable_404 something. I have been debating about filing this into trac as a bug. If you decide to, please include the ticket number here. Thanks, Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---