[Maypole] FW: Apache::Request

michael@diaspora.gen.nz michael@diaspora.gen.nz
Sun, 02 May 2004 10:30:54 +1200


Simon Cozens writes:
>Yep, and it's called CGI::Maypole; it comes with Maypole. See its
>documentation. To be honest, I don't know how to get it to work as an Apache2
>handler, (I have no knowledge of Apache2 and how it differs from mod_perl)
>whether there's anything special you can do rather than just running it as a
>(persistent?) CGI script. Has anyone got Maypole working under Apache2?

I had a go at it.  Something like the following diff got me most of
the way, but it's not a "proper" port according to the mod_perl 2.0
documentation, and ISTR that I then had input handling problems, so I
eventually just installed Apache 1.3 and mod_perl 1.0 instead.

It's on my list to investigate, but there are a few things ahead of it.
    -- michael.

--- MVC.pm.old  2004-05-02 10:27:36.000000000 +1200
+++ MVC.pm      2004-05-02 10:27:43.000000000 +1200
@@ -1,6 +1,7 @@
 package Apache::MVC;
 use base 'Maypole';
-use Apache;
+use Apache2;
+use Apache::compat;
 use Apache::Request;
 use strict;
 use warnings;