Now I cannot find a way to get the script running under mod_perl. CGI always takes over! if I remove the shebang line the script fails if I call it directly ie: server.com/perl/mlserver.pl it works correctly under mod_perl

How can I redirect an incoming request to the new mod_perl script?

I know this question is probably more an apache one, but I hope someone here can assist

I have tried renaming the script to mlserver.perl and the setting a new handler ie: AddHandler perl-script .perl but all that does is send back plain text, it doesn't execute mod_perl at all

Any ideas apart from telling all my clients to change the code on hundreds of sites?