KES -
Joined: 17 Jul 2009 Posts: 1
|
Posted: Tue Oct 27, 2009 1:47 am Post subject: XSSI & DOCUMENT_URI |
|
|
say we have 2 files:
print.shtml which includes the directive <!--#include file="print1.shtml" -->
and
print1.shtml which includes the directive <!--#printenv -->
now run print.shtml in a browser on an abyss server. DOCUMENT_URI is shown as print1.shtml. Now do the same on an apache server it is shown as print.shtml. Different yes....but why and which is correct?
I use abyss at home while building/testing websites before uploading to my apache server. I often build pages as follows:
Contents of say index.shtml
<!--#include file="top.shtml" -->
<!--#include file="left.shtml" -->
<!--#include file="middle.html" --> has no SSI
<!--#include file="right.shtml" -->
<!--#include file="bottom.shtml" -->
top, left, right and bottom...shtml all have XSSI statements that require to know DOCUMENT_URI of calling page (index.shtml) to draw menus correctly....But with the different way Abyss and Apache returns DOCUMENT_URI it is becoming very frustrating..... |
|