- Documentation which was in the now removed Catalyst::Engine::* classes
has been moved to Catalyst::Manual::Deployment
+ Changes:
+
+ - nginx specific behaviour is removed as it is not needed with any
+ web server configuration I can come up with (recommended config is
+ documented in Catalst::Manual::Deployment::nginx::FastCGI)
+
5.89003 2011-07-28 20:11:50 (TRIAL release)
Backward compatibility fixes:
* Better docs for stopping using Engine::HTTP::Prefork and
starting using Starman, maybe?
- * Test nginx middleware to determine if it is needed with:
-
- root app - with use_request_uri_for_path
- root app - without use_request_uri_for_path
- non-root app - with use_request_uri_for_path
- non-root app - without use_request_uri_for_path
-
- If it isn't needed, remove. If it is needed, split it out into it's own
- file and document why it's needed.
-
* I've noticed a small difference with Catalyst::Test. The latest stable
version include two headers, 'host' and 'https'. They are missing from
this version - Pedro Melo on list
# http://lists.scsys.co.uk/pipermail/catalyst/2006-June/008361.html
$psgi_app = Plack::Middleware::LighttpdScriptNameFix->wrap($psgi_app);
- $psgi_app = Plack::Middleware::Conditional->wrap(
- $psgi_app,
- condition => $server_matches->(qr/^nginx/),
- builder => sub {
- my ($to_wrap) = @_;
- return sub {
- my ($env) = @_;
- my $script_name = $env->{SCRIPT_NAME};
- $env->{PATH_INFO} =~ s/^$script_name//g;
- return $to_wrap->($env);
- };
- },
- );
-
# we're applying this unconditionally as the middleware itself already makes
# sure it doesn't fuck things up if it's not running under one of the right
# IIS versions