Report this

What is the reason for this report?

Perl Files download or show content on a browser instead of execute

Posted on November 5, 2018

hey guys im using a CMS with its based on Perl, so there are some CGI files to star the installation in my server but those file don’t execute in web browser, in some cases show the content to those scripts or just they try to donwload.

I upgrade muy PERL version, but still doesn’t work,

Thank for your time guys…



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

You need to make sure that you have your AddHandler cgi-script .pl in your Apache config file.

You can follow the instructions in this answer here on how to set that up:

https://www.digitalocean.com/community/questions/can-t-get-perl-scripts-to-execute

Hope that this helps! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.