Monks,
I've been working on this all day with no luck. I installed mod_perl via CPAN and it seems to be installed fine.
cpan> install Apache
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 10 Jan 2002 08:13:21 GMT
Apache is up to date.
cpan> install mod_perl
mod_perl is up to date.
but when I go to start apache, I get this error:
[root@localhost bin]# ./apachectl start
Syntax error on line 3 of /usr/local/everything/everything.apache.conf
+:
Invalid command 'PerlModule', perhaps mis-spelled or defined by a modu
+le not included in the server configuration
./apachectl start: httpd could not be started
Here is what the everything.apache.conf file looks like:
AddHandler perl-script .pl
PerlModule Apache::DBI
PerlModule CGI
PerlSetupEnv On
This is being called from /usr/local/apache/httpd.conf as such:
Include /usr/local/everything/everything.apache.conf
I did a find for mod_perl.so on my system, but it didn't produce any results. Any ideas what is wrong?
Thanks,
Dru
Another satisfied monk.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.