On Wednesday 10 June 2009 13:10:00 Шигапов Ринат wrote:
> Here is my part of apache2 conf for mod_python:
> <Location "/">
>         SetHandler python-program
>         PythonHandler django.core.handlers.modpython
>         SetEnv DJANGO_SETTINGS_MODULE settings
>         PythonDebug On
>         PythonPath "['/var/www/webapps/katrin-web'] + sys.path"
>  </Location>
>
> Basically, I  have common  settings for all  project apps in project root.
> Any ideas are appreciated.

if you project is '/katrin-web', then the line should read:

PythonPath "['/var/www/webapps/'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE katrin-web.settings
-- 
regards
kg
http://lawgon.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to