Sorry for late replay.

My problem was about "Non-root configuration” of lighttpd::FastCGI.
I use lighttpd/1.4.28, which is newer than the target version of LighttpdScriptNameFix.
With this combination, $env->{PATH_INFO} is wrong when catalyst-application
located on non root path.

According to advices from you and Michele, now I learned workaround.(i.e. myappp.psgi)

Many thanks,
N.A.


(10/26/11 08:04), Tomas Doran wrote:

On 25 Oct 2011, at 15:08, N.A. wrote:

Speaking about 'non-default middleware of Plack',
'Plack::Middleware::LighttpdScriptNameFix' enabled in 'apply_default_middlewares'
(line 2746 of Catalyst.pm) should be also 'non-default',
because it is just harmful for user of recent version lighttpd.

According to the manual page of the middleware, this middleware targets lighttpd of
version 1.4.22 or belows.

How is it harmful?

It fixes something newer versions don't do any more, but in what cases would this fail / do bad things?

B.T.W, how one can enable or disable Plack middleware in a Catalyst application?

See Catalyst::PSGI

Cheers
t0m


_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/



_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to