Me again. Here's the modperl error on httpd start:
root@sam:/home/xxxx/yyyy.com/mod-perl> start-dms [Thu Jul 31 02:04:00 2003] [error] Can't locate loadable object for mo +dule Apache::Constants in @INC (@INC contains: /home/xxxx/yyyy.com/mo +d-perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5. +8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/p +erl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_p +erl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /u +sr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/i386-li +nux-thread-multi/mod_perl.pm line 14!Compilation failed in require at + /home/xxxx/yyyy.com/mod-perl/RKG/Redirect.pm line 5.!BEGIN failed--c +ompilation aborted at /home/xxxx/yyyy.com/mod-perl/RKG/Redirect.pm li +ne 5.!Compilation failed in require at (eval 2) line 3.! [Thu Jul 31 02:04:00 2003] [error] Can't load Perl module RKG::Redirec +t for server 192.168.1.4:8080, exiting...!
Here's my startup.pl
root@sam:/home/xxxx/yyyy.com/mod-perl> cat startup.pl use strict; use lib qw(/home/xxxx/yyyy.com/mod-perl); 1; root@sam:/home/xxxx/yyyy.com/mod-perl>
Here's my httpd.conf
root@sam:/home/xxxx/yyyy.com> tail httpd.conf # End of proxy directives. PerlRequire /home/xxxx/yyyy.com/mod-perl/startup.pl PerlModule RKG::Redirect <Location /r> SetHandler perl-script PerlHandler Apache::Redirect </Location>
Still stuck, thanks, folks!

In reply to still stuck... by rkg
in thread newbie mod_perl: @INC and Apache::Constants by rkg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.