On my local django runserver I created a custom templates/404.html
, and this works no problem. However in production with apache
this custom 404.html
is no longer shown (even with DEBUG=False
).
I just get a white page with
Not Found
The requested URL /blahblah was not found on this server.
I don't believe that this isn't even the django default, but rather something to do with apache.
How do I tell apache to let django handle the 404s?