Hi all, Anyone know why <!--#include file="../00_ssi/banner.htm" --> doesn't work on RootsWeb while <!--#include virtual="../00_ssi/banner.htm" --> does work? Not only does my personal PC web server (IIS7) seem to require "file" but if I ever move elsewhere it would be nice to know which one is preferable. Help! Thanks, George
If you use include file, the file must be in the same directory, it looks like you have a folder for includes, therefore you need to use include virtual. Rootsweb is running Apache on CentOS, CentOS is a unix like operating system see: http://www.htmlgoodies.com/beyond/webmaster/article.php/3473341#virtual On Mon, Jan 18, 2010 at 5:11 PM, George Waller <george.a.waller@gmail.com>wrote: > Hi all, > > Anyone know why > > <!--#include file="../00_ssi/banner.htm" --> > > doesn't work on RootsWeb while > > <!--#include virtual="../00_ssi/banner.htm" --> > > does work? > > Not only does my personal PC web server (IIS7) seem to require "file" > but if I ever move elsewhere it would be nice to know which one is > preferable. > > Help! > > Thanks, George > > ------------------------------- > To unsubscribe from the list, please send an email to > ROOTSWEB-HELP-request@rootsweb.com with the word 'unsubscribe' without the > quotes in the subject and the body of the message >