[Catalyst] Lighttpd and fastcgi
Daisuke Murase
typester at cpan.org
Fri Jan 20 13:35:48 CET 2006
I'm using mod_setenv module for this problem.
example:
$HTTP["url"] =~ "^/myapp/" {
setenv.add-environment = ( "SCRIPT_NAME" => "/myapp/" )
}
With this config, you can see $c->req->base is 'http://.../myapp/'
under /myapp/ path.
--
Daisuke Murase <typester at cpan.org>
Nigel Metheringham <nigel.metheringham at dev.intechnology.co.uk> wrote:
> I'm just transitioning my app from the catalyst built in server to
> running on fastcgi under lighttpd.
>
> I'm finding that the base variable ( $c->req->base ) is not being set
> correctly.
>
> Since Catalyst::Engine::FastCGI inherits from Catalyst::Engine::CGI, it
> looks to me as though the Catalyst::Engine::CGI prepare_path method is
> failing - apparently due to there being no environment passed across
> from lighttpd.
>
> Has anyone else seen/dealt with this?
>
> Versions:-
> Catalyst: 5.62
> FCGI: 0.67
> lighttpd: 1.4.8
>
> Cheers
> Nigel.
> --
> [ Nigel Metheringham Nigel.Metheringham at InTechnology.co.uk ]
> [ - Comments in this message are my own and not ITO opinion/policy - ]
>
>
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
More information about the Catalyst
mailing list