Good morning,

I'm opening an old thread that is related to a problem I'm having, my issue seems to also be related to "[Catalyst] Plack::Hanlder::FCGI Bug?", and change in v5.90007.

On 2/10/11 at 11:14 PM +0900, N.A. <[email protected]> wrote:

I'm not sure why, but for my case removing 'Plack::Middleware::LighttpdScriptNameFix' from 'Catalyst.pm' works.

Maybe "LighttpdScriptNameFix" is not requied because
my lighttpd is version 1.4.28 and I'm not mount my app under the root path 
("/").

I hope there could be some switch to turn off this 'module'(middleware?) !!

I've got the opposite problem from that solved in v5.90007. I'm running lighttpd/1.4.26 (on centos) so the LighttpdScriptNameFix middleware should not be needed. But when I updated staging server, our app broke, and applying LighttpdScriptNameFix unconditionally fixed it (edited apply_default_middlewares in Catalyst.pm).

I don't understand SCRIPT_NAME and PATH_INO well enough to know what *should* be happening. Where should I look to figure out why the LighttpdScriptNameFix middleware still needs to be applied?

I have tried setting use_request_uri_for_path to both 0 & 1 and doesn't make any difference.

The lighttpd.conf file contains:

  $HTTP["url"] !~ "^/(static/|http-bind/)" {
    fastcgi.server  = (
        "" =>
           ( "local" =>
             (
                "socket" => "/path/to/app-fastcgi.socket",
                "check-local" => "disable",
             )
        )
    )
  }

Any suggestions?

Thanks,
Charlie

--
   Ꮚ Charlie Garrison ♊ <[email protected]>

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠  http://www.ietf.org/rfc/rfc1855.txt


_______________________________________________
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