Hi everyone

I try to get django to run in fcgi on a shared hosting as described in
http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#running-django-on-a-shared-hosting-provider-with-apache.
However I get a 500 Error when loading the file in my browser and in
the errorlog i get:

Traceback (most recent call last):
File "django.fcgi", line 8, in <module>
runfastcgi(method='threaded', daemonize='false')
File "/home1/ojiich/lib/python2.5/site-packages/django/core/servers/
fastcgi.py", line 176, in runfastcgi
WSGIServer(WSGIHandler(), **wsgi_opts).run()
File "/home1/ojiich/lib/python2.5/site-packages/flup-1.0.2-py2.5.egg/
flup/server/fcgi.py", line 114, in run
File "/home1/ojiich/lib/python2.5/site-packages/flup-1.0.2-py2.5.egg/
flup/server/threadedserver.py", line 84, in run socket.error: (22,
'Invalid argument')
[Mon Jul 20 09:14:41 2009] [error] [client 85.3.125.15] Premature end
of script headers: django.fcgi
[Mon Jul 20 09:14:41 2009] [notice] mod_fcgid: call /home1/ojiich/
public_html/projectsj/500.php with wrapper /usr/local/cpanel/cgi-sys/
fcgiwrapper

Anyone got ideas how to get this to run?

For reference, my .htaccess is http://pastebin.com/m324e8dfd and
django.fcgi is http://pastebin.com/m30619601

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to