
Jasmine
Administrator
/ Moderator
Jan 13, 2000, 6:07 PM
Post #4 of 4
(536 views)
|
|
Re: SSI include - backward reference
[In reply to]
|
Can't Post
|
|
No, I didn't say that As long as footer.html stays in one place (in the example provided, in the root html directory), the pages calling the ssi can be anywhere. So the following pages: www.yourdomain.com/here.html www.yourdomain.com/next/here.html www.yourdomain.com/next/again/here.html can all use the same ssi call: <!--#include virtual="/footer.html"--> The forward slash tells the server in this example "look for footer.html in the root directory". Likewise, if your footer.html was in a subdirectory (named subdir), all of the above pages can use <!--#include virtual="/subdir/footer.html"--> It really doesn't matter where your pages are... it's the location of the file to be included(footer.html in this case) that's important. So if you set up the pages on mytestsite.foo/testatea using /footer.html as the ssi path, moving it to clientsite.foo will work as long as footer.html is in the root web directory. [This message has been edited by Jasmine (edited 01-13-2000).]
|