Hi there,

On Thu, 11 Jan 2007, Bryan Lawrence wrote:

> I have an application that I've been developing that uses paste to
> configure itself. It works fine when I deploy it using wsgiutils, but
> when I configure it to use fastcgi in lightpd, urlmap can't
> find the applications.

I believe the problem you are seeing is related to this:

   http://trac.lighttpd.net/trac/ticket/729

It seems when a FastCGI or SCGI application is mounted at the 
virtual host root, lighttpd forwards incorrect values for 
SCRIPT_NAME and PATH_INFO.

One solution is to rebuild lighttpd with the patch attached to 
that ticket. Another would be to mount the app anywhere but the 
root:

fastcgi.server    = ( "/app" =>
                       ( "localhost" =>
                                         (
                           "socket" => "/tmp/ndg.fastcgi.soc",
                           "check-local" => "disable" ) ) )

Hope that helps.
- Allan

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to