Hi folks:
Sorry for the noob question on here, but I've never encountered this before. I'm working on a small CGI app using mod_perl, and I'm getting the usual "file permissions deny server execution" error. The odd thing is that this isn't for the CGI script itself, but for every linked file in the "images/" directory! Disabling mod_perl for this Location "fixes" the problem, but I'd rather figure out what is causing this.
Why would mod_perl attempt to execute images?
<Location /assetdb> SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI FollowSymLinks PerlSendHeader On </Location>
Because that's what you are telling it to do. SetHandler operates on everything in that Location. In order to have apache do it's normal thing with the images you will need to put them in a separate directory/location.
If you decide to put them under the /assetdb, then you will need to tell apache to handle them
<Location /assetdb/images> SetHandler default-handler </Location>
HTH
-- Michael Peters Developer Plus Three, LP