Hi guys, I'm new to using Embperl and ran into a configuration
problem which
I don't know how to fix. I really appreciate it if you could point
me to the right
direction :)
Here's the setup: I've Apache 1.39 statically compiled with modperl 1.21
and Embperl 1.2.1. I have some pure perl
Your root Location directives are overriding your cgi-bin Location.
You set your embperl to skip all files but the ehtml, but that means
it does nothing with the .pl files.
Try this instead for the root Location.
Location /
FilesMatch "\.ehtml$"
SetHandler perl-script
...
Alias /cgi-bin/ "/abc/cgi-bin/"
Location /cgi-bin
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader On
/Location
Location /
SetHandler perl-script
PerlHandler HTML::Embperl
PerlSetEnv EMBPERL_FILESMATCH