Control Web Panel

WebPanel => Installation => Topic started by: Kleston on June 15, 2017, 02:26:55 PM

Title: Executing Perl/Python
Post by: Kleston on June 15, 2017, 02:26:55 PM
Hello,

I have a fresh install of CWP on Centos 7.  Everything is working fine except for execution of Perl and Python scripts.  I've followed the instructions in the help article for Python and a forum post for Perl, but the scripts only display as plain text when visited (just generic test scripts to print content to a page).  Has something changed since this information was written that needs to be done yet?

http://wiki.centos-webpanel.com/apache-run-python-script (http://wiki.centos-webpanel.com/apache-run-python-script)
http://forum.centos-webpanel.com/installation/how-do-i-execute-perl/ (http://forum.centos-webpanel.com/installation/how-do-i-execute-perl/)
Title: Re: Executing Perl/Python
Post by: studio4host on August 26, 2017, 09:25:05 AM
to me this sounds like you have not loaded required apache modules to run that scripts

I would recommend following this instructions as they also include security info for running cgi scripts
http://wiki.centos-webpanel.com/how-to-run-cgi-scripts-with-apache