Questions tagged [perlsections]

3 questions
1
vote
1 answer

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…
Kev
  • 15,899
  • 15
  • 79
  • 112
0
votes
1 answer

Apache mod_perl2 migration problem

I have an apache2 config file under /etc/init.d/apache2/conf.d/ which uses Perl Sections. I am just trying to test if a module is loaded and configure apache as appropriate. if( Apache->module( "mod_ssl.c" ) ) { ... } else { ... } This is the…
Jeff
  • 103
  • 9
0
votes
1 answer

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…
Kev
  • 15,899
  • 15
  • 79
  • 112