Hi monks,
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.

In reply to Set up Catalyst with Fast CGI on Apache2 by CColin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.