Forum Moderators: phranque

Message Too Old, No Replies

Virutal Includes and file:///

SSI not working shows error processing directory

         

gms3651

10:10 pm on Sep 21, 2006 (gmt 0)

10+ Year Member



Hello,
Whenever I create a page from a template and post it on the site. In the place of where my SSI's should be I get a [error processing directory]. I went back and looked at code of the SSI in the .htm file. And notice the code looked like this '<!--#include virtual="file:///C¦/Documents%20and%20Settings/skayser/My%20Documents/Web/career/includes/career-rotate.php" -->' Once I upload it to the server that's when I get the error message '[error processing directory]'. I guess because it's looking for that long directory that starts with "file:///"

And help would be appreciated.

coopster

2:18 pm on Sep 22, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You must be using some form of WYSIWYG editor and it is including the files from your local system's filepath during development and leaving that link there in your source code. You are correct in that on the server then, the server is trying to find that path and getting confused.

I can't tell you how to fix your WYSIWYG editor's settings, but I can lead you to the correct syntax for a server side include [httpd.apache.org] (SSI) if you are running on an Apache server ;)