Author Topic: Awstats & CGI show as plain text  (Read 14833 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Awstats & CGI show as plain text
« 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?

Offline
*
Re: Awstats & CGI show as plain text
« Reply #1 on: August 27, 2019, 08:53:55 AM »
cwp will soon present stats so there is no any need for custom setup
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.