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 errors

Discussion in 'General Discussion' started by rootuser, Jun 28, 2005.

  1. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ***INDIA***
    when iam trying to run ssi pages to a particular client getting errors in my browser like

    [an error occurred while processing this directive]

    in the same time in server error log showing

    unable to include file "../include/left.htm" in parsed file /home/myhome/public_html/directory/index.shtml

    any fix .Thanks in advance.
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    may be rebuilding apache with previous config will help you as it did for me...
     
  3. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ***INDIA***

    thanks nickb , but before rebuilding apache how can check is it a coding error or not, because only one client reported this eror.Thanks for your reply.
     
  4. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    try serching the forum with ssi problem..
     
  5. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    The include tag should look like this:
    <!--#include virtual="/path/to/file.html" -->
    starting with the / and the path being from your public_html folder, or web root.
     
  6. rootuser

    rootuser Well-Known Member

    Joined:
    Jan 31, 2005
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    ***INDIA***

    :D :D Thanks PWSowner it is working fine, because of that info, i changed the code to
    <!--#include virtual="/path/to/file.html" -->
    Thanks again !
     
  7. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    No problem. I had to figure that out myself a while back. ;)
     
Loading...

Share This Page