Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Of ./name.html and /name.html

Do they read from the file calling them?

6:28 pm on Apr 15, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 11, 2007
votes: 0



this code:

<!--#if expr="(${inclprefix} != /^$/ && ${inclprefix} != /^\(none\)$/)" -->

<!--#include virtual="${inclprefix}2.txt" -->

<!--#endif --> (kindly suggested by Mr. Morgan a year ago - and working flawlessly ever since)

from the public directory ( http://www.domain.com/file.html ) to "directory a" inside the public directory ( http://www.domain.com/a/file.html ), stopped it from working.

Reading this http://www.webmasterworld.com/forum92/4498.htm I took a chance and tested replacing ${inclprefix} with each of these:




The first two work and the third does not.

Is it because they are interpreting the instructions from the perspective of the file that calls them?

So, /a/name.html is actually looking for http://www.domain.com/a/a/name.html?

Do either of /${inclprefix} and ../${inclprefix} raise security issues?

12:26 am on Apr 17, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
votes: 0

I think the filenames are relative or absolute within the filesystem folder structure. They are NOT seen as URLs from the outside, but instead as internal folders within the server. It's only a URL when your browser requests it. This is an internal process within the server, therefore it isn't a URL as such.