in reply to Re: Yum install of Apache & mod_perl
in thread Yum install of Apache & mod_perl

Printing out the environment verified that mod_perl was not running. So, I tried to see if I could get this to work:
<Location /perl-status> SetHandler perl-script PerlResponseHandler Apache2::Status Order allow,deny Allow from all </Location>
It did. So, after playing with the directives a little I realized the problem was actually with the rewrite rule, mod_perl wanted the location of the rewrite. So, while this did execute, it wasn't running under mod_perl:
RewriteEngine on RewriteRule /s/ /index.cgi [NC,QSA] <Location "/path/to/site/docs/index.cgi"> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI </Location>
And this simple change loaded mod_perl:
RewriteEngine on RewriteRule /s/ /index.cgi [NC,QSA] <Location "/s/"> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI </Location>
Obvious now... but isn't everything in hindsight?