Control Web Panel

WebPanel => Installation => Topic started by: el3wdy on March 13, 2017, 02:29:31 PM

Title: CGI Support
Post by: el3wdy on March 13, 2017, 02:29:31 PM
hello,

I try to install a CGI script on my server but I see the script as text, then I start to search on google, apache.org but there no solution to run pl CGI files till now.

Thank you
Title: Re: CGI Support
Post by: Administrator on March 13, 2017, 10:26:51 PM
you can add this to your /usr/local/apache/conf/httpd.conf

Code: [Select]
<Directory "/home/*/public_html/">
      AllowOverride All
      Options +ExecCGI
      AddHandler cgi-script .cgi .pl
</Directory

and restart apache