I'm getting this problem: [EMAIL PROTECTED]:~/wiggle$ ./manage.py runfcgi 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 "/var/lib/python-support/python2.4/flup/server/fcgi_base.py", line 558, in run protocolStatus, appStatus = self.server.handler(self) File "/var/lib/python-support/python2.4/flup/server/fcgi_base.py", line 1112, in handler result = self.application(environ, start_response) File "/var/lib/python-support/python2.4/django/core/handlers/ wsgi.py", line 189, in __call__ response = self.get_response(request) File "/var/lib/python-support/python2.4/django/core/handlers/ base.py", line 59, in get_response response = middleware_method(request) File "/var/lib/python-support/python2.4/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> ======================== This is the directory structure /home/vanths/www/ wiggle/ __init__.py manage.py public / django.fcgi . htaccess Media / settings.py urls.py ========================= Here are the files I set up in a "public" directory under wiggle: 1. [EMAIL PROTECTED]:~/wiggle$ more public/django.fcgi #!/usr/bin/python import os, sys sys.path.insert (0, "/home/vanths/www/") os.chdir ('..') os.environ [ 'DJANGO_SETTINGS_MODULE'] = "wiggle.settings" from django.core.servers.fastcgi import runfastcgi runfastcgi(method="threaded", daemonize="false") 2. [EMAIL PROTECTED]:~/wiggle$ more public/.htaccess public/.htaccess: No such file or directory [EMAIL PROTECTED]:~/wiggle$ more public/.Htaccess AddHandler fcgid-script. Fcgi RewriteEngine On RewriteCond% (REQUEST_FILENAME)!-F RewriteRule ^(.*)$ django.fcgi / $ 1 [QSA, L] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---