When I use a DNS name, like
http://example.com/test_page, HFS sees my router IP because, I guess, that's where it gets looped back. Anyway, I got that part under control for the most part except some interference from some privacy add-ons I just installed like Tor Button and Tor, Vidalia, Privoxy, and the BetterPrivacy, RefControl, and SafeCache Add-Ons for firefox. But that's another whole issue.
Anyway, look at this macros.log output (truncated)
> %ip%
< 127.0.0.1
> %ip%
< 127.0.0.1
> %url%
< /temporary_test_pages/inc_test/
> match address|127.0.0.1|127.0.0.1
< 1
> match address|192.168.1.1|127.0.0.1
<
> or|1|
< 1
> count substring|temporary_test_pages|/temporary_test_pages/inc_test/
< 1
> and|1|1
< 1
> if|1|{:{.load|test.tpl.}:}
< {.load|test.tpl.}
> load|test.tpl
< <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<title></title>
</head>
<body>
</body>
</html>
It looks as if the template is getting loaded, but the page still displays the default template. I didn't change anything in the folder properties. I just added a local real folder to the VFS.
It seems as though I broke the template feature, except for the one folder which I added first. It's hfs.diff.tpl is showing properly.
Oh, and by the way, I added this to hfs.tpl
[special:begin]
{.if|{.and|{.or|{.match address|127.0.0.1|%ip%.}|{.match address|192.168.1.1|%ip%.}.}|{.count substring|temporary_test_pages|%url%.}.}|{:{.load|test.tpl.}:}.}
I bet you hate to see that "Oh, and by the way" stuff. Sorry.
Oh, and by the way, I tested this i IE7 and the macros.log says it loaded the test.tpl but the page is still showing the default template.