|No such thing as a small change|
Set up Catalyst with Fast CGI on Apache2by CColin (Scribe)
|on Mar 15, 2010 at 02:37 UTC||Need Help??|
CColin has asked for the
wisdom of the Perl Monks concerning the following question:
I've been struggling all day to try and set up FastCGI on a LAN server running Apache2 in order to run some Perl scripts that use FAst CGI as a POC, so I can merrily go off and start trying to develop an app.
I can't find any Hello world example that applies to both the perl script and the set up of FastCGI and Apache. Yes there are perl scripts, but no there is nothing that seems to relate to the whole shebang (pun intended).
My server is running Hardy Heron, and I've installed apache2 with the libapache2-mod-fastcgi. After hours downloading half of CPAN and other dependencies I also seem to have installed Catalyst.
In fact, I have to say the marketing promise of the elegant framework that is Catalyst (which I desperately want to believe) is a ways short of setting the thing up.
I also have the "Definitive Guide to Catalyst". Not useful IMHO, especially as it recommends using Fast CGI on Apache but then hangs you out to dry to set the thing up (this is the only reason I'm trying to set it up actually). True, I have little prior experience with Apache, but should I have to have had?
I've seen the Catalyst website, too, but that is opaque (at best) for someone who hasn't done all this before.
Any guidance towards a Hello World example for this environment, eg. exactly what has to be set up in the conf files, and a hello world script for this environment would be appreciated. I've tried some of the disparate config settings on line but none seem to work.