Results 1 to 7 of 7

Thread: SSI errors

  1. #1
    Member rootuser's Avatar
    Join Date
    Jan 2005
    Location
    ***INDIA***
    Posts
    125

    Default SSI errors

    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. #2
    Member nickb's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    347

    Default

    may be rebuilding apache with previous config will help you as it did for me...
    Either Zero Or Hundred...

  3. #3
    Member rootuser's Avatar
    Join Date
    Jan 2005
    Location
    ***INDIA***
    Posts
    125

    Default

    Quote Originally Posted by nickb
    may be rebuilding apache with previous config will help you as it did for me...

    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. #4
    Member nickb's Avatar
    Join Date
    Feb 2005
    Location
    India
    Posts
    347

    Default

    try serching the forum with ssi problem..
    Either Zero Or Hundred...

  5. #5
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    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.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  6. #6
    Member rootuser's Avatar
    Join Date
    Jan 2005
    Location
    ***INDIA***
    Posts
    125

    Default

    Quote Originally Posted by PWSowner
    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.

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

  7. #7
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    No problem. I had to figure that out myself a while back.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads

  1. ssi not being parsed
    By iclayton in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-07-2004, 12:39 AM
  2. Ssi
    By beyondallcom in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 03-09-2004, 02:43 PM
  3. ssi
    By typer in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 04-29-2003, 02:56 PM
  4. SSI and includes
    By Jontxu40 in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-26-2003, 04:52 AM
  5. SSI
    By hostbet in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 08-19-2002, 09:03 AM