dispatch.fcgi not found?
Posted by: Beetle B.
Posted on: 2008-11-06 10:09:00
Hi,
I use Django (very lightly) on two of my subdomains. I follow the method given in the Dreamhost Wiki.
I just noticed that one of those two subdomains has not been working for the past 3 months. The other is working just fine.
If I navigate to the nonworking domain, I just get (more or less) a 404:
In reply to:
Not Found
The requested URL /dispatch.fcgi/ was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
True enough, dispatch.fcgi - a file in the directory, was not world accessible (750 instead of 755). So I changed the permissions to 755.
I still get that error.
The funny thing is the setup I have is identical to the one on my other subdomain - which is working fine.
This isn't a 500 error that may be common running Django on shared hosting. It's something different. Here's my .htaccess:
In reply to:
Options -indexes
RewriteCond %{REQUEST_URI} ^/stats/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/failed_auth.html$
RewriteRule ^.*$ - [L]
RewriteEngine On
RewriteBase /
RewriteRule ^(dispatch\.fcgi/.*)$ - [L]
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]
Here's verbatim from the logs:
In reply to:
[Thu Nov 6 09:57:49 2008] [error] [client 00.00.00.00] File does not exist: /home/userid/subdomain_directory/dispatch.fcgi/
Any ideas?
Beetle B.