You are not logged in.
Hi guys,
I've correctly installed django from svn, and set up apache with mod_python.
I created my infotreni project into /home/httpd/html/ , edited /etc/httpd/conf/httpd.conf adding this:
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE infotreni.settings
PythonDebug On
PythonPath "['/home/httpd/html'] + sys.path"
</Location>
Alias /media "/usr/lib/python2.5/site-packages/django/contrib/admin/media/"
<Location "/media">
SetHandler None
</Location>
<Location "/phpmyadmin">
SetHandler None
</Location>
It seems to work fine, but there are some missing css files located in /usr/lib/python2.5/site-packages/django/contrib/admin/media/ . I've read several tutorials but I'm not able to let it work properly. :(
Last edited by uastasi (2007-11-29 15:40:14)
Offline