A website uses Perl script without
.pl in its name. When attempting to execute such script in a browser it does not execute the script but shows the file content. How to make such script executable by Apache Web server?
Add the following directives in Additional directives for HTTP and Additional directives for HTTPS sections in Plesk > Domains > example.com > Apache & nginx Settings:
CONFIG_TEXT: <IfModule mod_perl.c>
allow from all
Note: Such configuration makes Apache Web server treat any file without extension as a perl script.