On Thu, Jan 22, 2009 at 11:55 AM, May <adles...@gmail.com> wrote: > > Hello, > > I'm trying to set up the Apache server with mod_python. The Apache > server works, until I had the following code to the bottom of > http.conf file: > > SetHandler python-program > PythonPath "['C:/django'] + sys.path"
If this is a literal cut-and-paste one problem is that you have curly quotes around the PythonPath. Apache doesn't understand curly quotes, use straight typewriter quotes. > > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE myprojects.settings > PythonDebug On > > SetHandler None > > SetHandler None > > When I try to start Apache the error is "The requested operation has > failed! > > My path is C:/django/myprojects > > Thank you for any help! > Looking in the error log for clues is always a good idea also. Karen --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---