G'day knox,

Welcome to the Monastery.

It's a very long time (15-20 years) since I had to do anything with Apache virtual hosts. Any knowledge that I might have retained may well be very out-of-date. I won't attempt to provide an answer; however, the following may be of some help.

Have a look at these documents (and follow links therein):

The httpd.conf file itself provides a lot of hints; although, as it says,

# Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are +unsure # consult the online docs. You have been warned.

Check the output in both the access and error logs. They may contain information that will allow you to resolve your problem. If they contain something you don't understand, post it here: "its not rending any of Perl Script" is not a particularly useful error report for us.

Check changes to configuration as appropriate for your platform. For me, using Cygwin, that's /usr/sbin/apachectl configtest; it's quite likely you'll need something different on Ubuntu. Also bounce (stop and restart) Apache after config changes.

You'll probably find it useful to set up aliases for your most common operations. Here's a few of mine; again, Ubuntu may be different.

alias apache_test='/usr/sbin/apachectl configtest' alias apache_down='/usr/sbin/apachectl stop' alias apache_up='/usr/sbin/apachectl start' alias apache_ps='ps -ef | grep http'

— Ken


In reply to Re: configuring mod_perl on Apache2.4 (conf & virtual host help)? by kcott
in thread configuring mod_perl on Apache2.4 (conf & virtual host help)? by knox

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.