I'm using Django + Apache via FastCGI, getting this code by mistake handler:
def handler404(request): response = render_to_response('errors/404.html', locals(), context_instance=RequestContext(request)) response.status_code = 404 return response
I fetch invalid URL, see my custom 404 page, but there's something similar to this in apache access log:
- - [29/May/2011:15:10:29 -0700] "GET /qqq HTTP/1.1" 200 1316 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:188.8.131.52) Gecko/20110420 Firefox/3.6.17"
Can you really have 404 code in Apache to inform, internet search engine spiders, for instance, this page isn't available? Thanks!