Hi Bram. On Mar 17, 2:17 pm, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > "in the last 7 days your blog/item/whatever has been visited from: > 7 xhttp://somewebsite.com > 5 xhttp://someotherwebsite.com
Beware of opening yourself up to referrer spam. Spam bots can request pages on your site and pass their own website as the referrer. This gets you to list a link to their site. http://en.wikipedia.org/wiki/Referer_spam > Should I be thinking Django (and perhaps middleware) or should I be > thinking about parsing apache logs via a cron? I suppose it depends how concerned you are about performance. Apache is logging the information anyway, so it saves you a write to the database. If you are updating stats every day or hour instead of every request, you could use cron to parse the logs and generate some static info for your templates to include. It's probably also a good candidate for caching. Scott --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---