Did you include the module in your httpd.conf file? ie
PerlModule Apache2::Const; C Kang wrote: > Hi, > > I'm recently porting code from Apache 1.xx/mod_perl 1.xx to Apache > 2.xx/mod_perl 2.xx. Mason version is 1.35. > > <LocationMatch "(\.m(html|txt|pl)|dhandler|autohandler)$"> > SetHandler perl-script > PerlInitHandler Apache::Constants::NOT_FOUND > </LocationMatch> > > The above didn't work any more because Apache::Constants::NOT_FOUND is > replaced by Apache2::Const::HTTP_NOT_FOUND, but this doesn't work either, > > PerlInitHandler Apache2::Const::HTTP_NOT_FOUND > > [error] Can't locate Apache2/Const/NOT_FOUND.pm in @INC (@INC > contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi ... > > Any suggestion, workaround, or comment? Thanks in advance. > > > ------------------------------------------------------------------------ > Check out the all-new Yahoo! Mail beta > <http://us.rd.yahoo.com/evt=43257/*http://advision.webevents.yahoo.com/mailbeta> > > - Fire up a more powerful email and get things done faster. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Mason-users mailing list > Mason-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mason-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users