I simply moved my website for an actual apache server (was developing in your area before) and also the site can't appear to obtain the web addresses.py file. essentially ultimately the home page works, that is strange by itself thinking about when time passes to the url, e.g. website/about/, i will receive a 404 error with text
ROOT_URLCONF set to
mysite.urls and merely
urls, and when i slowly move the web addresses.py it'll still behave exactly the same way.
I'm not sure if it is related however i also can't appear to gain access to my website media folder, it appears as if the server continues to be reading through it in the old path, however the configurations.py file is correct. (attempted restarting apache, restarting server, etc..)
I'd become more concerned about it not locating the media directory, that's pure apache. In the event that part of the process is not working, little else will. Use apache's httpd.conf before you can browse towards the media directory properly first.
I replicated during my working conf file and replaced your values. Your
django.root should be "" or otherwise set whatsoever, as I have discovered that it should not finish having a
<Location "/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE fikdusite.settings PythonOption django.root "" PythonDebug On PythonPath "['/django_apps/', '/django_apps/fikdusite/'] + sys.path" </Location>
And make certain the
.profile from the user that apache runs your website as, has:
export DJANGO_SETTINGS_MODULE='fikdusite.settings' export PYTHONPATH=$PYTHONPATH:/django_apps:/django_apps/fikdusite
First, avoid using mod_python, use mod_wsgi.
Next, remember you need to restart Apache any time you create a code alternation in Django.