Question

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

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…


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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