At 06:06 PM 1/19/2010, you wrote: ><!--#include virtual="/~ctmanshs/00_ssi/banner.htm" --> ><!--#include virtual="../00_ssi/banner.htm" --> > >both work on my RootsWeb account between subdirectories. >Does anyone use another variation which works between subdirectories? >(I.e. my #include is within a file in a subdirectory) > ><!--#include virtual="/00_ssi/banner.htm" --> >would be great but it doesn't work! What is the URL of the page that has the include that doesn't work? What is the URL of the file you wish to include on the above page? Pat
Hi Pat, Thanks for your help. Here is the page which doesn't work: http://www.rootsweb.ancestry.com/~ctmanshs/hunting_lodge_rd_156/hunting_lodge_rd_156_web.htm it has the following include: <!--#include virtual="/00_ssi/banner.htm" --> BTW, I can make it work with: <!--#include virtual="../00_ssi/banner.htm" --> Both hope to refer to: http://www.rootsweb.ancestry.com/~ctmanshs/00_ssi/banner.htm which contains: <p align=left><a href="http://www.mansfieldct-history.org/"> <img src="../00_images/banner.jpg" alt="Banner" align="bottom" width="100%" height="175" border="0"></a></p> What I would like to hear is what subdirectory to subdirectory include do others use successfully. I am trying to find an include which works both in RootsWeb Apache and Windows IIS. So far nobody has told me what kind of include they use for ssi on RootsWeb. Thanks, George On Tue, Jan 19, 2010 at 6:12 PM, Pat Asher <pjroots@att.net> wrote: > At 06:06 PM 1/19/2010, you wrote: > ><!--#include virtual="/~ctmanshs/00_ssi/banner.htm" --> > ><!--#include virtual="../00_ssi/banner.htm" --> > > > >both work on my RootsWeb account between subdirectories. > >Does anyone use another variation which works between subdirectories? > >(I.e. my #include is within a file in a subdirectory) > > > ><!--#include virtual="/00_ssi/banner.htm" --> > >would be great but it doesn't work! > > What is the URL of the page that has the include that doesn't work? > > What is the URL of the file you wish to include on the above page? > > > Pat > > > ------------------------------- > 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 >
George Pat Asher explained in this post http://archiver.rootsweb.ancestry.com/th/read/RootsWeb-Help/2010-01/1263902215 you can't use <!--#include virtual="/00_ssi/banner.htm" --> QUOTE If your account is on the Freepages server, the problem with using "/" to indicate root, is that you don't have access to the root directory. The configuration on that server uses internal redirects so you can have multiple URLs in one account. UNQUOTE I've sent you actual examples of includes that work on Rootsweb servers... here they are again <!--#include virtual="includes/footer0b.htm"--> file in public_html <!--#include virtual="../includes/footer0b.htm"--> file one directory below <!--#include virtual="../../includes/footer0b.htm"--> file two directories below includes is the directory in public_html where the includes files are located ../ is relative path that is the equivalent of up one directory ../../ is the equivalent of up two directories See Absolute vs. Relative Paths http://www.communitymx.com/content/article.cfm?cid=230ad Bear in mind the section on Root Relative is *NOT* applicable on the Rootsweb server as Pat indicated and as you have experienced. I do not run a web server on the computer I use to develop pages, I make extensive use of server side includes so I never see the complete finished product until I upload the page and go online to view it. It does take a bit of getting used to when you start out but now I just know there should be a header, a navigation menu, and a footer. I started out developing my template with all the code, then moved the 'boiler plate' into includes files and coded the ssi... Glenn http://www.rootsweb.ancestry.com/~waskcgs/index.html George Waller wrote: > Hi Pat, > Thanks for your help. > > Here is the page which doesn't work: > http://www.rootsweb.ancestry.com/~ctmanshs/hunting_lodge_rd_156/hunting_lodge_rd_156_web.htm > it has the following include: > <!--#include virtual="/00_ssi/banner.htm" --> > > BTW, I can make it work with: > <!--#include virtual="../00_ssi/banner.htm" --> > > Both hope to refer to: > http://www.rootsweb.ancestry.com/~ctmanshs/00_ssi/banner.htm > > which contains: > <p align=left><a href="http://www.mansfieldct-history.org/"> > <img src="../00_images/banner.jpg" alt="Banner" align="bottom" width="100%" > height="175" border="0"></a></p> > > What I would like to hear is what subdirectory to subdirectory include do > others use successfully. I am trying to find an include which works both in > RootsWeb Apache > and Windows IIS. So far nobody has told me what kind of include they use > for ssi on RootsWeb. > > Thanks, George
Hello, I am brand new to list, I am tring to add a color to my outside border of a web page and the inside border, right now they are gray and black by default. How can I these borders a different color? sincercly, pat c.