Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: ibyteapps on August 26, 2019, 02:57:30 PM

Title: Awstats & CGI show as plain text
Post by: ibyteapps on August 26, 2019, 02:57:30 PM
I've recently started learning CentOS. I've been a proficient hardware/software lad for many years and do have some experience with Apache.

I'm stuck at a certain juncture though. I'm unable to browse to CGI files. They show up as plain text and do not execute. I've tried executing a sample file form ssh and it worked fine. I've also done a lot of research and spent over 3 hours trying to fix this.

Having done several modifications to httpd.conf file and restarting httpd service multiple times.

Can anyone point out a guide to me?

LoadModule cgi_module modules/mod_cgi.so is present in my httpd.conf file

Also the following

<Directory "var/www/html">
    Options +ExecCGI
    AddHandler cgi-script .cgi .pl
</Directory>

Also done chmod 705 *.cgi

Still showing up as plain text. Any help?
Title: Re: Awstats & CGI show as plain text
Post by: studio4host on August 27, 2019, 08:53:55 AM
cwp will soon present stats so there is no any need for custom setup