Jontxu40

Well-Known Member
Dec 9, 2002
47
0
156
Hi all :

The problem is that SSI includes like this :

#INCLUDE virtual=&/cgi-sys/blah...&

dont´t work . The error I get is :

[an error occurred while processing this directive]

The error_log say :

unable to include &/usr/local/cpanel/cgi-sys/blah ...

and the file is there with 755 !!


Any ideas ?


Thanks in advance
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
You cannot do SSI with &cgi-sys&, only with files owned by the account. When using &cgi-sys& just treat it as a regular link.
 

Jontxu40

Well-Known Member
Dec 9, 2002
47
0
156
Thanks but

Thanks but ..

How can I include diferents cpanel scritps ?

By example :

Counter.cgi Works fine
Entrpy banner ERROR :p (#exec cmd=&/usr/local/cpanel/cgi-sys/entropybanner.cgi )
Random HTML ERROR :p (#exec cmd=&/usr/local/cpanel/cgi-sys/randhtml.cgi )

it seems that cmd and cgi have disabled too

Thanks in advance .
 

Website Rob

Well-Known Member
Mar 23, 2002
1,501
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
Although you didn't post the code, you say that &Counter.cgi& works fine. Have you tried using the same type coding for the other scripts?

I don't use those scripts so I do not have any experience with them, but I do believe that when using them you should code it as:

a href=/cgi-sys/entropybanner.cgi
or
a href=cgi-sys/entropybanner.cgi