Hi Allan (and Ian)

Thanks for this. I believe you're exactly right - moving the lightpd
mount point meant that urlmap started finding the right things
immediately ...  (other things underneath broke, but that's not the
point).

Ian: I may be able to use the prefixmiddleware option, but I'd prefer
not to as the same thing needs to eventually deploy into multiple
environments; but I can probably live without lighttpd in the context of
this problem for the next few months. 

I much appreciate your help. I could have spent days trying to work that
out ...

Cheers
Bryan

(Allan: I should say I significantly appreciate the existence of flup as
well ... I'm sure you get many warm fuzzies from the community, but I'd
like to add my voice of thanks too!)


On Thu, 2007-01-11 at 16:17 -0800, Allan Saddi wrote:
> 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