[Catalyst] ”Non-root configuration” of lighttpd::FastCGI doesn't work with Catalyst-Runtime-5.90002

荒川則泰 n-a at u01.gate01.com
Thu Sep 29 11:30:32 GMT 2011


I use Catalyst from early days with the lighttpd/FastCGI.
Recently I update a Catalyst-Runtime from 5.80033 to 5.90002, and find
my application stop to work correct.
When I access 'http://my_server/myapp/', I got a "page not found" page.
There is an inconsistency of URL handling between two versions.

The situation is just the same for quite a simple "Hello" application
of Catalyst::Manual::Tutorial::02_CatalystBasics.
For lighttpd/FastCGI configuration, I follow ”Non-root configuration”
part of
the Catalyst::Manual::Deployment::lighttpd::FastCGI.

Any suggestions?


fastcgi-config of lighttpd
url.rewrite = ( "myapp\$" => "myapp/" )
fastcgi.server = (
"/myapp" => (
"MyApp" => (
# same as above

part of lighttpd log with Catalyst-Runtime-5.80033.
The 'myapp' part of URL is truncated.
[debug] "GET" request for "/" from ""
[debug] Path is "/"
[debug] Response Code: 200;

part of lighttpd log with Catalyst-Runtime-5.90002
The 'myapp' part of URL is treated as 'Arguments'.
[debug] "GET" request for "myapp/" from ""
[debug] Path is "/"
[debug] Arguments are "myapp"
[debug] Response Code: 404;

More information about the Catalyst mailing list