I am attempting to use Apache2::compat on a dedicated windows to get an old open source application, that does run under apache1/mod-perl1, running. Hopefully, I can easily port this application, or is it easier to give up?
>>> Adam Prime <[EMAIL PROTECTED]> 11/14/2008 8:07 AM >>> Michael Peters wrote: > Phil Carmody wrote: >> I'm currently running only Apache 1.3 (mod_perl 1.22) and am wondering >> what kinds of issues there might be if I were to want to migrate my >> server to Apache 2.x and mod_perl 2. >> Are there any things that I can do (or avoid) to make such a migration >> as close to trivial as possible. > > http://perl.apache.org/docs/2.0/user/porting/compat.html > > The biggest problem that I've seen is that not all of the Apache:: > modules on CPAN have been ported to Apache2 or been setup to work for > both. Most of the big ones have so it depends on what you're using. And > it's not that hard to port one of them if you need to. > There are also some details about porting from libapreq1 (Apache::Request) to libapreq2 (Apache2::Request) that are mentioned at the bottom of this page: http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__request.html There's another thing that isn't currently mentioned as well, which is that my @params = $r->param() under libapeq2 no longer returns a unique'd list of params. on a request like ?a=b&a=c, it will return (a, a). under apreq1 it returned (a). Adam