troubleshooting Question

Is there a way to create a sort of "Pseudo Directory" using ColdFusion or IIS?

Avatar of Polishka-Renicon
Polishka-Renicon asked on
ColdFusion LanguageMicrosoft IIS Web ServerWindows Server 2012
3 Comments1 Solution240 ViewsLast Modified:
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.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros