Esteemed monks. I'm sure there is something
extremely simple I'm missing here. I've had Apache::MP3 running on my desktop Linux box for ages. A co-worker recently expressed an interest and wanted me to install it on his Linux box. So, I downloaded the Apache/mod_perl source. Seemed to install fine, checked the
SERVER_SOFTWARE ENV variable (via the vanilla printenv cgi script) after kicking off
httpd:
SERVER_SOFTWARE="Apache/1.3.22 (Unix) mod_perl/1.26"
Then I installed
Apache::MP3. Added the appropriate info to
httpd.conf:
<Location /moozik>
SetHandler perl-script
PerlHandler Apache::MP3
</Location>
Restarted httpd for grins and proceeded to the .../moozik URL. Was promptly greeted with a nice 500 error. So off to the logs I went, and I found this little snippet of handy info:
[Tue Feb 26 16:02:54 2002] [error] Can't locate object method "new" vi
+a package "Apache" at /usr/lib/perl5/site_perl/5.6.0/Apache/MP3.pm li
+n 64.
What am I missing here? I'm sure I'll be kicking myself but I've tried re-installing everything from scratch and still no joy...
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.