in the http.conf when i add this:
Listen 127.0.0.1:8888
<VirtualHost 127.0.0.1:8888>
    <Location "/">
        SetHandler python-program
        PythonPath
"['C:/Python24/Lib/site-packages/Django-0.95-py2.4.egg/django/bin/work']
+ sys.path"
        PythonHandler django.core.handlers.modpython
        SetEnv DJANGO_SETTINGS_MODULE work.settings_apache
        PythonAutoReload Off
        PythonDebug On
    </Location>
    Alias /site_media
C:/Python24/Lib/site-packages/Django-0.95-py2.4.egg/django/bin/work/media
    Alias /media
C:/Python24/Lib/site-packages/Django-0.91-py2.4.egg/django/contrib/admin/media
    <Location "/site_media">
        SetHandler None
    </Location>
    <Location "/media">
        SetHandler None
    </Location>
</VirtualHost>
then apache can't restart ! and say : Invalid command 'PythonPath'  .
any suggestion?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to