Assistance getting this.mappings to work
I have been scouring the net trying to find a solution to my problem but as of yet I've had zero success.
I have the following in my Application.cfc:
<cfset this.mappings['/DefURLVar'] = "c:\inetpub\mywebdir\cfteststuff">
In my testpage.cfm I have:
<a href = "/DefURLVar/testpage.cfm">My Test Page</a>
I don't get an error, but it can't find the page because it is literally looking for a location of /DefURLVar/testpage.cfm.
So I tried the following:
<a href = "/#DefURLVar#/testpage.cfm">My Test Page</a>
Cold Fusion 8 returns DefURLVar is undefined......when I had my mappings in my Application.cfm file they worked just fine.
I understand the advantages of Application.cfc over Application.cfm but I've been spinning on this for several weeks and I'm about ready to revert back to Application.cfm just because I don't have the time to spend trying to make this work.
If someone can point out my obvious error I would be extremely grateful.
I'm currently running the Developer Edition of ColdFusion 8 and IIS v5.1
I have my mappings in the CF Administrator defined.
Thanks in Advance...
