perlsections

How do I configure PerlSections in mod_perl2?

I'm trying to use a [PerlSection][1] to get the server name and then use it to configure some RewriteCond-RewriteRule pairs and some other things. It seems I can't get very far. It says you can do this: Apache2->httpd_conf("PerlPassEnv $key $val"); But trying to start Apache I get this syntax error: "Can't locate object method "htt...

Apache2.2 APR load error

The server starts without complaint, but as soon as I hit a page that requires an Apache2 module, like Apache2::Cookie, it dies: Can't load 'C:/Perl5.10/site/lib/auto/APR/Request/Request.dll' for module APR::Request: load_file:The specified module could not be found at C:/Perl5.10/lib/DynaLoader.pm line 202... [etc all the way back to a...