I’m hitting a very frustrating problem. I am running Apache 1.3.22
with mod_perl 1.26 (along with PHP and a few others)
“httpd -l” does list mod_perl.c (among other things), but when I
try to start Apache, I get:
Invalid command ‘PerlModule’, perhaps mis-spelled or defined by a module not included in the server configuration
Here’s the relevant portion of my httpd.conf:
DocumentRoot /usr/local/rt2/WebRT/html
PerlModule Apache::DBI
PerlFreshRestart On
PerlRequire /usr/local/rt2/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
ErrorLog log/rt2-error.log
CustomLog log/rt2-access.log common
I’ve searched everywhere I can think to search and haven’t come up
with anything…
If anyone can assist, I would be greatly appreciative.
Thanks!
Mike
I’m hitting a very frustrating problem. I am running Apache 1.3.22
with mod_perl 1.26 (along with PHP and a few others)
“httpd -l” does list mod_perl.c (among other things), but when I
try to start Apache, I get:
Invalid command ‘PerlModule’, perhaps mis-spelled or defined by a
module not included in the server configuration
You’re starting the wrong httpd. Are you using apacchectl, or some
other script wrapper? Try starting httpd directly: /path/to/httpd -f
/path/to/httpd.conf.
(darren)
Usenet is like a herd of performing elephants with diarrhea;
massive, difficult to redirect, awe-inspiring, entertaining, and a
source of mind-boggling amounts of excrement when you least expect
it.
– Eugene Spafford.
At 10:11 Uhr -0600 4.4.2002, Mike Suter wrote:
“httpd -l” does list mod_perl.c (among other things), but when I
try to start Apache, I get:
Invalid command ‘PerlModule’, perhaps mis-spelled or defined by a
module not included in the server configuration
You may need to activate mod_perl using a AddModule directive, even
though it’s compiled in statically.
Sebastian Flothow
sebastian@flothow.de
#include <stddisclaimer.h>
“httpd -l” does list mod_perl.c (among other things), but when I
try to start Apache, I get:
Invalid command ‘PerlModule’, perhaps mis-spelled or defined by a
module not included in the server configuration
You may need to activate mod_perl using a AddModule directive, even
though it’s compiled in statically.
That did the trick - thanks!
Now I just have to figure out how to add directories to the @INC
directory search array - it’s not finding Apache::DBI.
I’m obviously not a Perl guru 
Thanks
Mike