how to get cgi-sys scripts working.

ka99

New member
Joined
Nov 14, 2025
Messages
3
Hi..

I moved from cpanel recently but facing a problem running the page counter script (Count.cgi), it used to be executed by adding "/cgi-bin/Count.cgi?sh=1&df=m3aq1.dat|display=Counter|ft=6|md=8|frgb=100;139;216|dd=A|Comma=T" in extra.less

I tried editing the domain's httpd.conf and added "ScriptAlias /cgi-sys /usr/local/cpanel/cgi-sys/", but still not working.

I also added "Options +ExecCGI" to .htaccess.. still!

TIA.
 
The httpd.conf file, mine works without any changes. (Running Apache)

With the .htaccess, mine reads;
Code:
Options -Indexes +ExecCGI
AddHandler cgi-script .cgi .pl .py

Have you set correct permissions for the CGI script? Should be 755, not 644.


1764514559204.png



1764514456462.png


1764514413360.png
 
Last edited:
Back
Top