Why did you create the .fcgi file? As the documentation says, that file needs
to be created if you are using FastCGI through Apache and you are using
lighttpd.
What you are missing (and that's also something that is documented) is the
url.rewrite-once directive in your lighttpd configuration.
The pipeline when using lighttpd + fastcgi + apache is:
1. HTTP Request arrives to lighttpd
2. lighttpd uses the::
"^(/.*)$" => "/mysite.fcgi$1"
entry in the url.rewrite-once directive to route that request to the
mysite.fcgi location. Note mysite.fcgi file itself doesn't need to exist
it's just a ghost placeholder for the request routing. That's because of
the::
fastcgi.server."/mysite.fcgi"."main"."check-local" => "disable"
setting.
(note also thaat you need to correct that "/mnt/project/mysite.fcgi"
entry because it doesn't match "/mysite.fcgi$1". they should.
3. lighttpd's mod_fastcgi module gets the request and routes it via a TCP or
Unix socket to thegastCGi server
4. The fastCGI server (in your case Django's manage.py runfastcgi + flup) gets
the request
Regards,
--
Ramiro Morales