Just do 'make install' again, it should tell you where mod_perl.so gets stored. If not, enter this at the command line:

find /usr -name 'mod_perl.so*' -print

That should tell you the location of the file, if it is somewhere in /usr. If not, change /usr to / in above line, that will search your whole file system

Normally the LoadModule line should be in the file /etc/apache2/mods-available/perl.load. There also should be a symbolic link in /etc/apache2/mods-enabled/ to this file. If that is the case, this file is executed automatically.

If you don't find the line in there, try the following command:

grep -r 'LoadMod' /etc/apache2

This will tell you where that text is in any files below /etc/apache2.

If that symbolic link is not in mods-enabled, add it and also add a symbolic link from perl.conf in mods-available. If you don't have the mods-* dirs, you should ask on an ubuntu list which file in /etc/apache2 is for local configurations. Often you can just add files into /etc/apache2/conf.d/ and they will be included automatically


In reply to Re^3: Invalid Command 'PerlModule' perhaps misspelled or defined by a module not included in the server configuration by jethro
in thread Invalid Command 'PerlModule' perhaps misspelled or defined by a module not included in the server configuration by ashrocks

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.