After a full weekend of tweaking and trying every combination of
lighttpd and CherryPy and scgi_server and flup configurations I could
think of, I still couldn't get the setup I want to work.  It's quite
frustrating.  I tried everything from Jon LaCour's blog and the
FastTrack code with no luck.

Here's the setup I want.

I want to use TurboGears to host my home page. That's the root
directory of my web server, /.

I already have tons of crap already hosted on my web server, so I can't
just direct lighttpd at it with a simple regular expression or move it
all into a /static directory.

Since I want TurboGears to host from the root, I can't tell lighttpd to
turn to TurboGears using a regular expression either.

So, I need to use error-handler-404 (or whatever) to tell lighttpd
"when you don't find that file, run at this scgi/fcgi/py script"  (or
something similar).

This also means I don't want to use a proxy by running another server
on my machine. I want to use a socket file.

Looking at lighttpd/error.log is rarely helpful. I've had everything
from permission errors (easy), connection refused, no fcgi handler
found, fcgi server disabled, blah blah blah. I don't even remember
which error messages go with which configuration, in my mind they're
all equally broken and frustrating.

Any ideas?  I don't care if it uses FastCGI or SCGI or whatever, I just
want to solve the use case as described above.

--
Brian Beck
Adventurer of the First Order


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to