- PerlSetEnv doesn't seem to have any effect in a VirtualHost, even though the docs say it should work (this is where someone else's attempts failed). Moving it to global scope made it work. This would probably also apply if porting to mod_perl 2.0 properly.
- Apache::LiveJournal::Interface::S2 - 'Bareword "OK" not allowed while "strict subs" in use', solved by changing the include to 'use Apache::Constants qw(NOT_FOUND OK);'. Not sure what causes this (but the change might still be necessary if porting properly)...
- Apache2::compat "doesn't provide a complete back compatibility layer" for Apache::Constants. BAD_REQUEST is missing (it's Apache2::Const::HTTP_BAD_REQUEST in mod_perl 2). This breaks FotoBilder.pm
- Apache::Log and Apache::URI aren't provided by Apache2::compat, though their functionality is
- Apache::compat doesn't work outside of Apache. update-db.pl indirectly depends on Apache::Constants. If anyone actually ports LJ, this should work properly.
It still doesn't work (BML docs not handled, DocumentRoot not set, etc - IOW, the httpd.conf injection doesn't seem to work), though at least Apache starts now. I wonder how much work porting it to mod_perl 2 (rather than using Apache2::compat) would be?