[thelist] SSI question

Anthony Baratta Anthony at Baratta.com
Sun Sep 2 13:33:18 CDT 2001


At 10:27 AM 9/2/2001, you wrote:
>Yes, you can do that, just be sure to put the correct url/path for the 
>file in the include tag.

FYI...you must use the OS Path to correctly include the file, the URL is 
irrelevant in this case. For example:

         Domain One lives at /web/sites/DomainOne/www
         Domain Two lives at /web/sites/DomainTwo/www

You decide to put shared SSI files at:

         /web/sites/SharedSSI/www

In your include files you need to use the ../../.. convension to get to the 
proper location:

         [!--#include file="../../SharedSSI/www/include.txt" --]

You can not use the #include virtual option here since that would "lock" 
you into the web root directory.

Hope that helps.
---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."





More information about the thelist mailing list