cheers Ken,

I had to get re-aquainted with virtual hosts, so your suggestion was really helpful in eventually finding my mistake. I am on my laptop using this as a local test and completely forgot set up /etc/hosts file.

I was just accessing everything via the full local url, eg http://127.0.0.1/projectsite/public_html/test.pl. I set up a virtual hosts with a proper server name locally ( eg projectsite.local ) then added this to my hosts file, it was all honky-dory. Part of my confusion was the assumption that mod_perl and mod_php work the same way - php works without having to set up a virtual host this way. But I found digging into virtual hosts a useful learning experience.

thanks for your feedback, I lead me to the solution!


In reply to Re^2: configuring mod_perl on Apache2.4 (conf & virtual host help)? by knox
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.