just put this line in (/etc/apache2/sites-enabled/000-default)

        <Location "/mysite/">
                SetHandler python-program
                PythonHandler django.core.handlers.modpython
                SetEnv DJANGO_SETTINGS_MODULE mysite.settings
                PythonInterpreter  mysite
                PythonDebug On
                PythonPath "['path to django','path to mysite'] +
sys.path"
        </Location>

It should work fine.

On Mar 7, 4:32 am, xankya <suzan.sha...@gmail.com> wrote:
> One thing I noticed in my windows and sun solaris is that, there is no
> trailing slash in python paths. When I added trailing slash, apache
> showed error. So you might as well try removing trailing slash in
> python paths.
--~--~---------~--~----~------------~-------~--~----~
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