1234,

Yes, with these directives:

------------
<Location "/mysite">
    SetHandler python-program
    PythonPath "['/Working/django','/Working/modules','/Working/
projects','/Working/projects/mysite'] + sys.path"
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonHandler mod_python.testhandler
    #PythonHandler django.core.handlers.modpython
    PythonDebug On
</Location>
------------


Here's the output for the 'sys.path':

------------
Apache version  Apache/2.2.3 (Red Hat)
Apache threaded MPM     No (single thread MPM)
Apache forked MPM       Yes, maximum 256 processes
Apache server root      /etc/httpd
Apache document root    /var/www/html
Apache error log        /etc/httpd/logs/error_log (view last 100 lines)
Python sys.version      2.4.3 (#1, Dec 11 2006, 11:38:52) [GCC 4.1.1
20061130 (Red Hat 4.1.1-43)]
Python sys.path =

/Working/django
/Working/modules
/Working/projects
/Working/projects/mysite
/usr/lib/python24.zip
/usr/lib/python2.4
/usr/lib/python2.4/plat-linux2
/usr/lib/python2.4/lib-tk
/usr/lib/python2.4/lib-dynload
/usr/lib/python2.4/site-packages
/usr/lib/python2.4/site-packages/Numeric
/usr/lib/python2.4/site-packages/gtk-2.0

Python interpreter name server.mysite.com
mod_python.publisher available  Yes
mod_python.psp available        Yes
-------------

Any thoughts?

Scott

On Jan 15, 6:39 pm, 1234 <[EMAIL PROTECTED]> wrote:
> django is in your sys.path?
--~--~---------~--~----~------------~-------~--~----~
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