Re: [Catalyst] Re: Multiple applications (some cat based) on the same server
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 pe...@dragonstaff.co.ukwrote: On 27 August 2011 08:07, Aristotle Pagaltzis pagalt...@gmx.de wrote: If they all have Plack integration it’s trivially easy, something like use Plack::Builder; builder { mount '/cat' = $cat_app; mount '/mouse' = $other_cat_app; mount '/foo' = $ledgersmb_app; mount '/' = $shinycms_app; } Can you integrate PHP apps with Plack? Regards, Peter ___ List: Catalyst@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/ ___ List: Catalyst@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/
Re: [Catalyst] Re: Multiple applications (some cat based) on the same server
On 27 August 2011 08:07, Aristotle Pagaltzis pagalt...@gmx.de wrote: If they all have Plack integration it’s trivially easy, something like use Plack::Builder; builder { mount '/cat' = $cat_app; mount '/mouse' = $other_cat_app; mount '/foo' = $ledgersmb_app; mount '/' = $shinycms_app; } Can you integrate PHP apps with Plack? Regards, Peter ___ List: Catalyst@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/
Re: [Catalyst] Re: Multiple applications (some cat based) on the same server
Aristotle Pagaltzis wrote: * Roderick A. Anderson raand...@cyber-office.net [2011-08-26 01:40]: I'm wondering how difficult (or if even possible) it is to have several applications, with two or more being cat based, running on the same httpd (Apache) server? If they all have Plack integration it’s trivially easy, something like use Plack::Builder; builder { mount '/cat' = $cat_app; mount '/mouse' = $other_cat_app; mount '/foo' = $ledgersmb_app; mount '/' = $shinycms_app; } will do the trick. WOW! Can hardly wait to try this. Thanks, Rod -- ___ List: Catalyst@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/ ___ List: Catalyst@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/