I installed mod_python & apache2.
mod_python is OK
http://ubuntuforums.org/showthread.php?t=91101

I then a adapted the http.conf to
[EMAIL PROTECTED]:/etc/apache2$ cat httpd.conf
<Location "/utils">
    SetHandler python-program
    PythonHandler django.core.handler.modpython
    SetEnv DJANGO_SETTINGS_MODULES de_post.settings
    PythonOption django.root /utils
    PythonDebug On
    PythonPath "['/home/me/Documents/django'] + sys.path"
</Location>

I however keep on receiving :
/////////////////////////////// http://localhost/followDeploys/viewDeployed/poc
///////////////////////////////
MOD_PYTHON ERROR

ProcessId:      26322
Interpreter:    'utils'

ServerName:     '127.0.1.1'
DocumentRoot:   '/htdocs'

URI:            '/utils/'
Location:       '/utils'
Directory:      None
Filename:       '/htdocs'
PathInfo:       '/utils/'

Phase:          'PythonHandler'
Handler:        'django.core.handler.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 handler.modpython
/////////////////////////////// END OF
FILE  ///////////////////////////////

I believe I need to adapt my /etc/apache2/sites-available/default
but ... with what ...

Tx,

\T,

--~--~---------~--~----~------------~-------~--~----~
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