Check file permissions.
I had exactly the same error on a Linux machine with the wrong permissions set.
chmod 755 myfile.pl
solved the problem.
More Related Contents:
- How to enable mod_rewrite for Apache 2.2
- How to debug Apache mod_rewrite
- How to Set AllowOverride all
- How to prevent http file caching in Apache httpd (MAMP)
- How can I make PHP display the error instead of giving me 500 Internal Server Error [duplicate]
- How to solve “Error: Apache shutdown unexpectedly”?
- How do I allow HTTPS for Apache on localhost?
- Redirect site with .htaccess but exclude one folder
- .htaccess redirect http to https
- How do I configure Apache 2 to run Perl CGI scripts?
- Case Insensitive URLs with mod_rewrite
- www-data permissions?
- ssl_error_rx_record_too_long and Apache SSL [closed]
- How do I use Spring Boot to serve static content located in Dropbox folder?
- WAMP 403 Forbidden message on Windows 7
- Need to allow encoded slashes on Apache
- How to restrict access by IP address with Tomcat?
- What is .htaccess file?
- rewrite rules for apache 2 to use with angular js
- Apache default VirtualHost
- Remove Characters from URL with htaccess
- Apache rewrite based on subdomain
- How to manually generate pages in Nuxt router with a 404 page fallback for .htaccess
- Setting up a websocket on Apache?
- How to disable mod_deflate in apache2?
- Apache – how to get REMOTE_USER variable
- HTML5 Server-Sent Events prototyping – ambiguous error and repeated polling?
- Apache rewrite rules not being applied for angularjs
- what is the use of “~” tilde in url? [closed]
- Do I need to convert .CER to .CRT for Apache SSL certificates? If so, how?