Forum Moderators: phranque
That said, I am hosting a bunch of mini websites on an apache server and I finally got the SSI to work, using the htaccess, htmlf extensions (.shtml did not work here) and what not. The problem is I need to use an include file that is outside of the folder structure that my web pages are on. You see, the include paths work fine as long as they are within the folder structure:
(ex. <!--#include file="incs/agentinfo.htmlf"--> )
however, it doesn't work when i do this:
( <!--#include file="../agents/049/agentinfo.htmlf"--> )
OR even when i absolute link to the include file using [.........]
is there a different way to code this? or do i need to "turn on" something on my server or upload another file like an htaccess, etc?
oh and this is the doctype i'm using (w/o space of course):
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
i also tried this one but no luck:
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd" >