Forum Moderators: open

Message Too Old, No Replies

Error processing SSI file

IIS 6 on Windows 2003 server

         

AWildman

2:52 pm on Oct 4, 2006 (gmt 0)

10+ Year Member



I keep getting an "Error processing SSI file" on a site that I'm setting up.

In IIS, I've configured the site to have mapped the html extension to ssiinc.dll as I've done on other sites which do work. I stopped and restarted the site after making that change.

I've tried different application pools, but none of that has made a difference.

The include IS on the server in the place indicated in the code:<!--#include virtual="../includes/header.txt" -->

I've checked the permissions on the include file and they appear correct for the Internet Guest Account:
Read, Read & Execute, List Folder Contents. These are the same permissions as on the other website that works.

I've tried making the content of the include very simple, just a closing head tag and an opening body tag. Still no go.

What am I missing?

AWildman

3:35 pm on Oct 4, 2006 (gmt 0)

10+ Year Member



Also, I do not have parent paths enabled on the server on which the site that is working resides.

Staffa

3:35 pm on Oct 4, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



include virtual traces the file to be included from the root directory, i.e. <!--#include virtual="../includes/header.txt" --> there is no need for .. if the directory includes is one level down from your root.

<!--#include virtual="/includes/header.txt" -->

PS : 2nd thought, I've never done this but does a .txt file work as an include?

[edited by: Staffa at 3:40 pm (utc) on Oct. 4, 2006]

AWildman

3:37 pm on Oct 4, 2006 (gmt 0)

10+ Year Member



I just tried that and it still didn't work. Thanks, though.

I'm just completely frustrated because the two servers seem to have the exact same configuration and one is working and one isn't.

I just tried include file instead and that magically worked. Why?

[edited by: AWildman at 3:40 pm (utc) on Oct. 4, 2006]