Skip Menu |

This queue is for tickets about the CatalystX-Plugin-Engine-FastCGI-Lighttpd CPAN distribution.

Report information
The Basics
Id: 46267
Status: open
Priority: 0/
Queue: CatalystX-Plugin-Engine-FastCGI-Lighttpd

People
Owner: Nobody in particular
Requestors: bobtfish [...] bobtfish.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: This module should not exist
Date: Thu, 21 May 2009 09:54:07 +0100
To: bug-CatalystX-Plugin-Engine-FastCGI-Lighttpd [...] rt.cpan.org
From: Tomas Doran <bobtfish [...] bobtfish.net>
Hi If there is a bug in the way that Catalyst handles lighttpd, then we should fix it in core Catalyst, rather than in an external plugin (which nobody knows about).. There is _already_ code which deals with mangling things for different web servers in FastCGI. Please have a look at: http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Runtime/5.80/ trunk/lib/Catalyst/Engine/FastCGI.pm sub _fix_env in there.. Would it be possible for you to supply a patch to the main Catalyst distribution, so that everyone could benefit from your fix? Cheers t0m
(This is a my note.) This plug-in allows to run in 404 handler. ```lighttpd.conf fastcgi.server = ( "DISPATCH_TO_CATALYST" => ( "localhost" => ( "socket" => "/tmp/catalyst.socket", "bin-path" => "/usr/bin/perl /tmp/MyApp/script/myapp_fastcgi.pl", "check-local" => "disable" )) ) server.error-handler-404 = "DISPATCH_TO_CATALYST" ``` When use this plugin $c->uri_for('/foo') returns "/foo" or it returns "/DISPATCH_TO_CATALYST/foo".