After experimenting with fastcgi under Apache 1.3 for rails development, I decided to take the plunge and try out Apache2.  We have a lot of code deployed under mod_perl and Apache 1.3, so I’ve been nervous about this for a long time.

After a couple of days of compiling and testing, I think I got it all working today.  It was surprisingly fast to port over the mod_perl code that we were previously using.  Our httpd.conf script has large <Perl> sections in it (to support our environment settings in a transparent way), but I basically copied those over and it worked with no problems.

I did have to work on the Apache::AuthCookie code that we used, because it was using the Apache:: modules.  Even that was easy.  The rest of our code was basically free, because we’ve been using the Apache::Registry, and just replacing that with ModPerl::Registry worked the first time I tried it.

I’m really happy that we used the Apache::Registry way back when instead of writing specific Apache handlers.