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.





 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
-------------------------------------------------------------------------
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

Reply via email to