The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SSI and includes

Discussion in 'General Discussion' started by Jontxu40, Jan 24, 2003.

  1. Jontxu40

    Jontxu40 Well-Known Member

    Joined:
    Dec 9, 2002
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    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.
     
  3. Jontxu40

    Jontxu40 Well-Known Member

    Joined:
    Dec 9, 2002
    Messages:
    47
    Likes Received:
    0
    Trophy Points:
    6
    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 .
     
  4. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    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
     
Loading...

Share This Page