CGI Support

Started by el3wdy, March 13, 2017, 02:29:31 PM

Previous topic - Next topic

el3wdy

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

Administrator

you can add this to your /usr/local/apache/conf/httpd.conf

<Directory "/home/*/public_html/">
      AllowOverride All
      Options +ExecCGI
      AddHandler cgi-script .cgi .pl
</Directory


and restart apache