I am trying to run a beta version of an application for viewing by our client. The problem I am running into is that our newer modules, since they have the same name, are not being identified as "different" by mod_perl. I am trying to find a way to run two different versions of the same application with mod_perl on the same box.

From my research so far, I have found this node which suggests running multiple versions of apache, each with its own mod_perl configuration. I imagine that requires setting up each apache server to listen on a different port with one main apache server simply doing port forwarding. That's three apache servers running, with three separate configs, just for two versions of the same application. This is very convoluted and does not seem scalable at all if a new version had to be added, so I have been looking for another method.

I have also been reading the documentation at http://perl.apache.org/ and http://modperlbook.org/. Perhaps I have just missed it, but I find no reference to running multiple versions of an application anywhere. This seems to me like something that would be a fairly common occurrence, so I was surprised not to find anything.

If my fellow monks could point me in the right direction as far as any documentation I missed, or if you have had experience with this I would greatly appreciate any insight you might have. Thanks!


In reply to mod_perl and module versions by thedoe

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.