Does anyone know of a way to create a kind of "Pseudo Directory" (fake directory) so the browser believes it exists and not toss an error?
I'm new to programming and the reason I want this is to create a more friendly URL using forward slashes instead of hyphens to separate content and ideas for the area we wish to send the user.
We're using ColdFusion 11 Enterprise on Windows Server 2012 R2, IIS 8.5, and SQL2008.
URL ReWrite does not work correctly for me to do this (that is a currently open question of mine on the subject).
I could use Active ColdFusion Mappings but that would require a bit too many to manage and there could be duplicates that may lead to errors. This needs to be simple. I can hardcode them into the URL by creating the directories on the fly but hoped this could be simpler with some function I don't know about.
https://www.experts-exchange.com/questions/28894359/URL-ReWrite-Friendly-URL-not-working-for-novice-programmer.html
I can use CFDirectory to create the directory okay, and use IIS to control the default document but that means creating lots of empty directories. That's not a big problem but if it's not necessary why bother?
I understand it is the client side that sees and executes the result of the browser but was wondering if there's some ColdFusion function, tag, etc, I've missed that might possibly do what I want?
EXAMPLE:
www.doman.com/files/#YEAR#/#DATE#/#category#/#numberid#/view.htm
I can create variables for the above and insert them but did not want to bother with forcing me to create the directories.