Sorry if this is a really stupid question, and I really don't want to sound like a n00b.... but I'm having problems writing a wrapper for my mason app following the info at http://www.masonhq.com/docs/manual/Admin.html#writing_a_wrapper
I'm on an apache2/modperl2 fedora core 4 system, the app works fine with the default PerlHandler HTML::Mason::ApacheHandler, but when I try to create my own handler, I just get: failed to resolve handler `Client::Mason;': Under Apache1 I was able to get this working easily by putting a PerlRequire /path/to/handler.pl and then handler.pl had Package Client::Mason; [etc etc grabbed from http://www.masonhq.com/docs/manual/Admin.html#the_wrapper_code ] This doesn't work at all under Apache2 it seems :( I have the following setup: httpd.conf: PerlPostConfigRequire /path/to/startup.pl /path/to/startup.pl: use Data::Dumper; [etc] use lib('/path/to/handler/lib/'); # dir with Client1/Mason.pm, C2/Mason.pm, etc use Client1::Mason; 1; /path/to/handler/lib/Client1/Mason.pm package Client1::Mason; use HTML::Mason::ApacheHandler; [simple code from http://www.masonhq.com/docs/manual/Admin.html#the_wrapper_code] 1; /path/to/client1/documentroot/.htaccess: <FilesMatch .. all mason files> SetHandler perl-script PerlHandler Client1::Mason; </FilesMatch> [etc] I even tried getting rid of startup.pl and putting the code from Client1/Mason.pm directly into a <Perl> block in httpd.conf, but the same results, just the same "failed to resolv handler". There doesn't seem to be much mention of this sort of thing in the apache2 page on masonhq, so I'm wondering if I'm missing something really really obvious? TIA. Alan -- Alan <[EMAIL PROTECTED]> - http://arcterex.net -------------------------------------------------------------------- "Backups are for people who don't pray." -- big Mike ------------------------------------------------------------------------- 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