On Wed, 22 Dec 2004, Robert wrote: > In article <[EMAIL PROTECTED]>, > Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > On Wed, 2004-12-22 at 16:51 -0500, Robert wrote: > > > Not quite. While I would love to be running mod_perl, > > > I am limited to using CGI only. Hence the question... > > > > It's pretty unusual to be able to choose your web server > > but not be able to choose whether you run a specific > > module or not. > > > > If you're unable to choose which modules get compiled into the server, > > you might want to look into SpeedyCGI as an alternative. > > > > Well I am on Windows and mod_perl(1) and Apache 1 are > limited to a single process (not a good thing). I see on > the mod_perl site that mod_perl(2) and Apache2 do not have > that limitation *but* that version of mod_perl is in a > 'development stage' and I would rather not 'trust' my > stuff to it without some feedback from people that are > using mp2 and A2.
As you've discovered, on Win32 there's a big improvement in using mod_perl 2, but as well, Apache2 itself has some significant gains over Apache1 on Win32. A release candidate of mod_perl 2 was just released, so it's very close to coming out of the development stage - on Win32, it passes a very extensive test suite. http://perl.apache.org/ discusses porting things to mp2, and for Win32 in particular, how to get ppm packages (note that on Win32 you must be running perl-5.8.x [an ActivePerl 8xx build] to use mp2). Of course, one should be careful in making a major upgrade like this - for mod_perl 2, the ppm package will install things under an Apache2/ subdirectory in your Perl tree, so that in principle you can have mod_perl 1 and 2 coexisting. Using Template-Toolkit with mp2 is pretty straightforward - if you need Apache::Request and/or Apache::Cookie, you can get them in the libapreq2 ppm package, and if you need Apache::Template, a mp2-compatible version is available from http://www.modperlcookbook.org/~geoff/modules/experimental/ -- best regards, randy kobes _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
