|The stupid question is the question not asked|
Deploy Catalyst application.by code-ninja (Scribe)
|on Nov 02, 2013 at 06:15 UTC||Need Help??|
code-ninja has asked for the
wisdom of the Perl Monks concerning the following question:
I made this small Catalyst app to send JSON data to some client. It is a very simple app and just has one controller (its just a test app, don't bite me for using just one controller!). I'm trying to deploy it on an Apache2 server with fastCGI. I referred this, this and this docs.
In my apache2.conf file, I appended the following:
But I'm unable to deploy the app as I dreamed I would.
Also, I read that I can use the in-built server as a full-fledged server using Catalyst::Engine::HTTP::Prefork but I can't make it work. :-(
When I say CATALYST_ENGINE="HTTP::Prefork" myapp_server.pl it complains about missing HTTP::Prefork package. I tried installing it from CPAN but for some reason, it fails during the tests.
I'd be really grateful if some Monk would point me to a good guide elucidating the deployment process. I have configured Apache2 during my RHCE course I took a few years back so I know the jargons quite well. *noviceShowOffSmile*