Derek, Thanks for the patch. A similar patch was already suggested in bug #345405, but it looks like yours catches a few things that were missed by the first one (which was always intended just as a starting point). I'll definitely include this in the next Debian release, and will go ahead and submit it upstream as well.
cheers, Charles -----Original Message----- > From: "Derek W. Poon" <[EMAIL PROTECTED]> > Subject: libhtml-mason-perl: Support for mod_perl2 > Date: Mon, 08 May 2006 18:03:15 -0700 > To: Charles Fry <[EMAIL PROTECTED]> > > Charles, > > I've been experimenting with using mod_perl2 with Debian, and would like > to submit the following patch to libhtml-mason-perl_1.32-1 for your > consideration. > > As you may be aware, HTML::Mason 1.32 already supports mod_perl2 out of > the box. However, HTML::Mason::ApacheUserDirHandler, which is a > Debian-specific file, does not. This patch adds support for both > mod_perl1 and mod_perl2 to ApacheUserDirHandler. Additionally, it makes > ApacheUserDirHandler sensitive to the MasonArgsMethod setting in the > Apache configuration. (This additional change is necessary because > letting MasonArgsMethod default to CGI causes problems if you use Debian > Sarge's Perl 5.8.4 without upgrading from CGI.pm 3.04.) > > I look forward to your feedback. > > Derek > > P.S. Have you considered submitting ApacheUserDirHandler to be part of > HTML::Mason? I know it's specific to Apache on Unix, but it could be of > interest to a lot of people. -- If Crusoe'd Kept his chin More tidy He might have found A lady Friday Burma-Shave http://burma-shave.org/jingles/1953/if_crusoed
ApacheUserDirHandler.pm
Description: Perl program