in reply to Re^2: Invalid Command 'PerlModule' perhaps misspelled or defined by a module not included in the server configuration
in thread Invalid Command 'PerlModule' perhaps misspelled or defined by a module not included in the server configuration
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/apache2This 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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Invalid Command 'PerlModule' perhaps misspelled or defined by a module not included in the server configuration
by ashrocks (Initiate) on Aug 19, 2010 at 18:38 UTC | |
by jethro (Monsignor) on Aug 19, 2010 at 23:19 UTC | |
by ashrocks (Initiate) on Aug 20, 2010 at 13:06 UTC | |
by jethro (Monsignor) on Aug 20, 2010 at 15:18 UTC | |
by Anonymous Monk on Aug 20, 2010 at 13:13 UTC |