1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Perl scripts and .pl extension
To run a web application with Perl scripts which don't include the ".pl" extension, do not hesitate to contact us.
If you get the following error message, for example
CGIWrap Error: Execution of this script not permitted
Execution of that script is not permitted for the following reason:
(1) Script file not found.
Request Data:Extra Path Info: /dossier/wwwdata/collection/vignettes/blabla.PL.12.34.56.gif
when the loaded file is a simple GIF image with a file name of the following type: "blabla.PL.12.34.56.gif", the issue results from the file name in question.
The Apache server manages MIME types so as to know what to do with what file type. The .pl extension concerns PERL scripts (as well as .cgi too). In the case of multiple extensions, if Apache intercepts a known extension, it treats it as it is defined in its corresponding MIME type. In this case, it tries to execute the script in question, which doesn't exist since there are still other extensions later on.
To solve this problem, simply rename your files.