I followed the instruction at the bottom of this page:
http://www.djangoproject.com/documentation/fastcgi/
I can't seem to get this running on a shared host. I've also try using
the WSGIHander against jonpy, but I can't get that to work either. Any
helps?
~/www/django> python mysite.fcgi
WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/flup/server/fcgi_base.py", line
558, in run
File "build/bdist.linux-i686/egg/flup/server/fcgi_base.py", line
1112, in handler
File "/home/<myuser>/lib/python2.4/site-packages/django/core/
handlers/wsgi.py", line 189, in __call__
response = self.get_response(request)
File "/home/<myuser>/lib/python2.4/site-packages/django/core/
handlers/base.py", line 59, in get_response
response = middleware_method(request)
File "/home/<myuser>/lib/python2.4/site-packages/django/middleware/
common.py", line 41, in process_request
if settings.APPEND_SLASH and (old_url[1][-1] != '/') and ('.' not
in old_url[1].split('/')[-1]):
IndexError: string index out of range
Content-Type: text/html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>Unhandled Exception</title>
</head><body>
<h1>Unhandled Exception</h1>
<p>An unhandled exception was thrown by the application.</p>
</body></html>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---