I get the following error when I hit my website http://ipaddress/enterathletes/

DocumentRoot:   '/var/www/html'

URI:            '/enterathletes/'
Location:       '/enterathletes/'
Directory:      None
Filename:       '/var/www/html/enterathletes'
PathInfo:       '/'

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1202, in _process_target
    module = import_module(module_name, path=path)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
304, in import_module
    return __import__(module_name, {}, {}, ['*'])

ImportError: No module named django.core.handlers.modpython

In my /usr/lib/python2.5/site-packages, I have
lrwxrwxrwx  1 root root     34 Jun 25 13:52 django -> /home/adi/django-
trunk/django/

In my python.conf apache conf file,

LoadModule python_module modules/mod_python.so

# Override type-map handler for /var/www/manual
<Directory "/var/www/manual/mod/mod_python">
        <Files *.html>
                SetHandler default-handler
        </Files>
</Directory>

<Location "/enterathletes/">
        SetHandler python-program
        PythonHandler django.core.handlers.modpython
        SetEnv DJANGO_SETTINGS_MODULE mysite.settings
        PythonDebug On
        PythonPath "['/home/adi/Enterathletes_py/src','/home/arustgi/
django-trunk'] + sys.path"
</Location>

I was able to do
python manage.py validate
and
python manage.py load data
from '/home/adi/Enterathletes_py/src/mysite

What am I missing? What should I check?
--~--~---------~--~----~------------~-------~--~----~
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