Hi, I am using Django + Apache (via FastCGI).
I've made my own 404 page (404.html in templates dir) and turned debug
mode off.
When I'm requesting for non-existed page I see my custom error page,
but in Apache's log there is something like this:
"GET /authors/333.html HTTP/1.1" 200 368 "-" (the return code is 200,
not 404).
Also I've tried custom error view (handler404 in urls.py):

from django.http import HttpResponse

def handler404(request):
    return HttpResponse('qqq', status=404)

I see 'qqq' when requesting for non-existed page, but there is still
200 code in logs, not 404.
How can I fix it?




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

Reply via email to