Hello Again, In pursuing a solution to one problem, i seemed to have created another. After playing around a bit with my dispatch.fcgi script, i started getting django application errors. After some frustration i restored my scripts to the half working state they were in when i had started. However application errors persisted, and after double checking the fast cgi documentation on the django site, i'm a little stuck. I'm to a point where rather than execute my dispatch.fcgi script, .htaccess simply reads it to the page. In other words, when i navigate to the URL, rather than have my dispatch.fcgi execute and start django, i see a blank page with a text dump of the dispatch.fcgi script.
The contents of my .htaccess: RewriteEngine On RewriteCond %{SCRIPT_FILENAME} -d RewriteCond %{SCRIPT_FILENAME} ^.*[^\/]$ RewriteRule ^(.*)$ $1/ [N] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ dispatch.fcgi/$1 [QSA,L] #RewriteRule ^(.*)$ brokerage/dispatch.fcgi/$1 [QSA,L] ErrorDocument 500 "<h2>Application error!!!</h2>Django application failed to start properly" The contents of my dispatch.fcgi: #!/usr/local/bin/python import sys, os project_sys="/home/usbroker/public_html/dev/" # Add a custom Python path. sys.path.insert(0, project_sys) # Set the DJANGO_SETTINGS_MODULE environment variable. os.environ['DJANGO_SETTINGS_MODULE'] = "brokerage.settings" from django.core.servers.fastcgi import runfastcgi runfastcgi(method="threaded",daemonize="false") Now if i simply run "./dispatch.fcgi" the output is: 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! Status: 200 OK Vary: Cookie Content-Type: text/html; charset=utf-8 Ceci n'est pas un site internet </br> </br> <body> <form name="f_login" id="f_login" action="/" method="post"> Username: <input type="text" name="username" /><br /> Password: <input type="password" name="passwd" /><br /> <input type="submit" value="Login" /> </form> </body> Which is exactly what i would expect to be my home page. Now this says to me that the problem lies in apache (maybe soft limits?) or in my .htaccess file. Any help would be greatly appreciated, as i'm out of ideas for the time being. As a side question, is there any way i can edit the django dispatcher to spit out some useful errors in a situation like this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---