Hey,
Mod_Perl vs 1.29
Apache vs 1.33
Installed with EVERYTHING=1
Perl vs. 5.8.0
I have CGI::SSI installed vs 0.53 and it works fine in command line perl.
When I try to load it in Mod_Perl I get:
Cannot find current script '/dev/null' at /usr/lib/perl5/5.8.0/FindBin.pm line 180
I did a google search on-line for it and 1 person didn't
write how they solved it and the other person who
solved it said the module they had a problem with
(Apache::something) had an error where it forgot to
require some file it used.
Any help would be very appreciated.
FYI: I figured it out
FindBin.pm Line 153:
croak("Cannot find current script '$0'") unless(-f $script);
Apache loads $script as /dev/null which is a directory
so it fails the -f check. Commented it out.
If anyone knows how to contact the author of CGI::SSI so they can fix this, please let me know.
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.