i have mod_python 3.3 and apache2.2
i have them both working, i also have a seperate django project.
i have tried to configure apache and my app together with out success
when i start apache with sudo ./httpd -k start, i can access the projects files via localhost by typing in the actual directory names and files, the same as i could in a python prompt say.
But i dont wont that. I wont to type the urls that i set in my urls.py file in my app and have the bloody thing work the same way as if i run it locally.
Now, my app is in my home directory, and apache is in my root directory, here is are the changes i made to the httpd.conf file.
I have spent much time on this and .............nothing, dont have clue. Any one, please im begging.
ServerRoot "/home/jamie/mysite"
LoadModule python_module /usr/local/apache2/modules/mod_python.so
DocumentRoot "/home/jamie/mysite"
<Directory "/home/jamie/mysite">
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/home/jamie/mysite">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Location "/mysite">
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonHandler mod_python.publisher
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonPath "['/home/jamie/mysite'] + sys.path"
#PythonOption django.root /mysite
PythonAutoReload On
PythonDebug On
</Location>