On Fri, Sep 5, 2008 at 9:21 AM, PeteDK <[EMAIL PROTECTED]> wrote: > > Hi Im an trying to deploy my django app to an apache server. However i > keep getting a 500 internal server error. > > i have followed this guide: > http://fosswire.com/2008/05/19/installing-mod_python-and-django-on-apache/ > > in my httpd.conf file i have written the following: > <Location /normskema> > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE normskema.settings > SetEnv PYTHON_EGG_CACHE "/var/cache/www/pythoneggs" > PythonDebug Off > PythonOption django.root /normskema > PythonPath "['/var/www/djangoapps'] + sys.path" > </Location> > > > in my httpd error_log file it shows the following: > > [Fri Sep 05 15:16:14 2008] [error] [client 10.45.1.140] PythonHandler > django.core.handlers.modpython: Traceback (most recent call last): > [Fri Sep 05 15:16:14 2008] [error] [client 10.45.1.140] PythonHandler > django.core.handlers.modpython: File "/usr/lib/python2.4/site- > packages/mod_python/a$ > [Fri Sep 05 15:16:14 2008] [error] [client 10.45.1.140] PythonHandler > django.core.handlers.modpython: File "<string>", line 1 > [Fri Sep 05 15:16:14 2008] [error] [client 10.45.1.140] PythonHandler > django.core.handlers.modpython: ['/var/www/djangoapps'] + sys.path > \xe2\x80\x9d
That \xe2x80\x9d is the problem. It's the utf8-encoding of the Unicode right double (curly) quote mark. You want just plain typewriter double quotes. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---