SSI data in multiple folder paths
I've finally discovered SSI and think it's the greatest thing since sliced bread. The problem I'm having is reusing the include files on a different folder level.
For example, my include file test.incl has this content:
the index.shtml document has this line:
<!--#include file="includes/test.incl" -->
That works for all documents on the same folder level, but as soon as I go a level deeper, the link breaks.
It doesn't seem to matter if I change the path in the lower level document to
<!--#include file="/includes/test.incl" -->
<!--#include file="../includes/test.incl" -->
How can this be fixed?
Just a push... isn't anyone here using server side includes? Would be great to get a hint.
Ok i can contribute myself now, as I have figured it out and the answer is simple (once you know):
Substitute 'virtual' for 'file'.
Yes, that's it.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)