Forum Moderators: phranque
I'd like to just update a single file and use that as the source for all three domains, but <#include virtual> only seems to work when it's calling in a file that exists on the same domain. If I try to call in a file from another domain the browser says "An error occurred when processing this directive."
Is there a way to use SSI's that reference other domains, or alternatively, is there some other easy way to include boilerplate content across three domains and have it stored only in one file? (And a PHP database would not constitute an "easy way" :) ).
Thank you very much for your help, -MBJ-
JDMorgan, all domains are indeed on the same server account, but I don't know how to make it work. My webhost told me it's impossible, but they've given me incorrect info before, and I swore I saw an example somewhere once where this worked, so I thought I should try to see if there's a way to make it go.
At the root of my account we have:
/domain1.com/index.html
/domain2.com/index.html
/domain3.com/index.html
But within any "index.html" file, if I reference a file "/foofoo.html", the server looks for it *in the domain that index.html is in*. I can't back up and reference the very top/root of my account -- at least I don't know how to do so.....
<edit> Half-finished thoughts: Then include the link in your code instead of the file - the link will be accessible to the code, and point to the actual shared file... It's actually a proxy for the file, as if the shared file was really there in the local directory. </edit>
Webbots are a FrontPage thing, so you may not have FP extensions installed or enabled.
Jim