[Catalyst] Re: Multiple applications (some cat based) on the same server

Andrew Rodland andrew at cleverdomain.org
Sun Aug 28 17:11:22 GMT 2011


There's a Plack::App::FCGIDispatcher that will let you mount an external
FastCGI app as part of a Plack app, and it's possible to run PHP as an
external FastCGI app using php5-fcgi and spawn-fcgi. Maybe not the easiest
thing in the world, but totally doable. Or you could just set up a PHP app
in Apache on a high port and then point a Plack::App::Proxy at that.

On Sat, Aug 27, 2011 at 3:37 AM, Peter Edwards <peter at dragonstaff.co.uk>wro=
te:

>
> On 27 August 2011 08:07, Aristotle Pagaltzis <pagaltzis at gmx.de> wrote:
>
>> If they all have Plack integration it=92s trivially easy, something
>> like
>>
>>    use Plack::Builder;
>>    builder {
>>        mount '/cat'   =3D> $cat_app;
>>        mount '/mouse' =3D> $other_cat_app;
>>        mount '/foo'   =3D> $ledgersmb_app;
>>        mount '/'      =3D> $shinycms_app;
>>    }
>>
>>
> Can you integrate PHP apps with Plack?
>
> Regards, Peter
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110828/287c1=
0dc/attachment.htm


More information about the Catalyst mailing list