[Answer]-File does not exist error in django,mod_wsgi and apache configuration

1đź‘Ť

The error message tells you exactly what is going on: there is nothing to match the root URL, /. That should be obvious from your urls.py: you have patterns for “admin”, “index”, “search-form” and “search”, but nothing for “”.

However you should have diagnosed this before deploying. When you ran it on your local machine with the development server, what happened when you went to localhost:8000/? You would have seen exactly the same error, and you would not then have thought it had anything to do with your Apache configuration.

Leave a comment