Invalid CGI ref "/cgi-sys/fourohfour.cgi"

cbu

Active Member
Aug 17, 2013
28
0
1
cPanel Access Level
Website Owner
Hello all!

My cpanel shows "exec used but not allowed" error. Therefore today I added following codes to .htaccess file.

# Server side includes enable
Options +Includes
AddHandler server-parsed .shtml .stm .shtm

# Server side includes Execute permissions method
Options +Includes
XBitHack on
Looks like now above mentioned error gone. But then I can see following error logs.

invalid CGI ref "/cgi-sys/fourohfour.cgi" in /home/xxxxx/public_html/404.shtml
What is the reason?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,267
463
Hello :)

It looks like you are attempting to include a CGI script within the 404 error page. Have you ensured the "fourohfour.cgi" page exists? If so, are you using the full path to it in your 404 error page?

Thank you.
 

cbu

Active Member
Aug 17, 2013
28
0
1
cPanel Access Level
Website Owner
After i deleted document root 404.shtml files issue gone.

Hello :)

It looks like you are attempting to include a CGI script within the 404 error page. Have you ensured the "fourohfour.cgi" page exists? If so, are you using the full path to it in your 404 error page?

Thank you.