Thanks for getting back to me, folks.
I thought that I have now done what you suggest, by following what you describe in your above reply, but nothing is happening.
- 1. I created a file with an shtml extension, and called it fa.shtml;
2. I inserted the snippet into that fa.shtml file;
3. I placed that fa.shtml file in the root of that host;
4. In Abyss, for XSSI Parameters for a host, I added a Virtual Path of "/" (without the quotes);
5. I checked the box in front of Enable XSSI Processing (to enable it).
But nothing is happening... the snippet is not being called.
Then put that snippet of code in a file called fa.html for example and insert in each of your .html files a directive to include fa.html.
That is basically what I have been doing this past year, but without XSSI... here's how I have done it until now:
- 1. I have a /common folder containing files that are shared by all 14 of my Abyss hosts.
2. Each of my Abyss hosts has an alias called /common that points to that shared common folder.
3. I have a file called font_awesome.php that contains my snippet.
I know that I could just use an HTML extension for that file, but all my other common files are PHP, so for consistency I used PHP.
Next:
- 4. In my website's CMS' footer.php, I call that font_awesome.php file using an INCLUDE;
5. In my website's guestbook's index.php, I call that same font_awesome.php file using an identical INCLUDE;
6. In my website's tracking script's index.php, I call that same font_awesome.php file using an identical INCLUDE.
<?php include 'D:\Web\_common\_globals\font_awesome.php' ; ?>
Between my
14 hosts running on Abyss X2, that's a few dozen places on those hosts that have PHP files that call that same
font_awesome.php files with that above INCLUDE.
I am curious how using Abyss' XSSI method differs from my own method that I've been using for the past year.
What I wish to be able to accomplish for each of my Abyss 14 hosts: for Abyss to call that font_awesome.shtml file for every page that Abyss serves up, so that I do not need to configure (and periodically update) many individual apps (PHP scripts) running on those hosts to call that file.
I know that I'm not explaining it very well, but I hope that the above makes sense.
Thanks in advance.
Regards,
John