RootsWeb.com Mailing Lists
Total: 1/1
    1. Re: [ROOTSWEB-HELP] include virtual vs include file
    2. Jim Rickenbacker(3)
    3. George, I don't use includes. That said, if <!--#include virtual="/00_ssi/banner.htm" --> works on one and not the other then there are two possibilities I can see. 1. You have different directory structures on the two servers. 2. One of the servers is not following standards. What is the path from web root to your calling files and include files in on both servers? Starting with: wwwroot on IE and public_html on rootsweb. I'm don't know that "../" is legitimate in an include. Here is a good writeup on includes: http://www.htmlgoodies.com/beyond/webmaster/article.php/3473341 Jim Rickenbacker ----- Original Message ----- From: "George Waller" <george.a.waller@gmail.com> To: <rootsweb-help@rootsweb.com> Sent: Monday, January 18, 2010 9:44 PM Subject: Re: [ROOTSWEB-HELP] include virtual vs include file > Hi Glenn, > Thanks for your reply. > > This works on RootsWeb: > <!--#include virtual="../00_ssi/banner.htm" --> > This does not work: > <!--#include virtual="/00_ssi/banner.htm" --> > <!--#include file="../00_ssi/banner.htm" --> > <!--#include virtual="00_ssi/banner.htm" --> > > This works on my local PC web server (IIS7): > <!--#include virtual="/00_ssi/banner.htm" --> > <!--#include file="../00_ssi/banner.htm" --> > <!--#include virtual="00_ssi/banner.htm" --> > This does not work: > <!--#include virtual="../00_ssi/banner.htm" --> > > So, barring inept errors on my part, it seems that the only thing that > works on RootsWeb is the *only* thing that doesn't work on my local > web server. And, what works is not what you said would work :-( > > Jim Rickenbacker... you use RootsWeb and IIS. What works for you? > Others please speak to what works on RootsWeb. > Many thanks! > George

    01/18/2010 04:55:23