On Thu, Oct 16, 2008 at 10:42 PM, felix <[EMAIL PROTECTED]> wrote:
>
>
> possibly it may be on YOUR pythonpath but it won't be on apache's
> pythonpath.
>

k then..

well I added PythonPath "['/home/iambob/web',
'/home/iambob/web/testSite'] + sys.path" to my httpd.conf so the
relevant section becomes

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

but it still gives me an import error......

is there a possibility that apache doesn't have permissions to see
inside my home directory?

and if so, how would I rectify that?

Thankyou :)

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to