Forum archive
How to use Perl CGI scripts in lamp appliance ?
Hi,
first of all, hi to the community. I'm new to Turnkey linux and after 1 installation, I'm becoming a fan.... Thanks for great work.
I'd like to modify LAMP appliance (I really like TKLPatch approach), but first I need to get some software written as Perl CGI scripts working.
At the moment I have an rrd.cgi script in /var/www/cgi-bin and when I try to access if from remote location, I get the script as text - it doesn't get executed.
Since appliance is supposed to support Apache&Perl out of the box, I'm surely missing something simple ?
Thanks in advance,
regards,
Bulek.
CGI should work out of the box (in cgi-bin). I filed a bug report. Thanks for reporting this!
Anyhow, for a Perl CGI script to execute in cgi-bin Apache has to be configured with the +ExecCGI option for the cgi-bin directory and a few other things. See this article for details.