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.



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

Thanks!
N.A.






On 25 Oct 2011, at 06:27, Josef Chladek wrote:
If I comment this block out, the correct PATH_INFO somecontroller/method is called.
An if around this block
if ($env->{SERVER_SOFTWARE} && $env->{SERVER_SOFTWARE} =~ m!lighttpd!)
would be the solution, I guess...

I think the plan is to remove this change, and make it a non-default middleware.

As you correctly surmised, the issue is Plack 'fixing' things for you here.

I've commented on the issue in the Plack bug tracker, thanks for the problem report!

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