Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

Redirecting an entire folder w/IIS 7.5 and CF10

$
0
0

I know that in past versions of CF and IIS, I've been able to redirect an entire folder such that 404 request to www.domain.edu/folder/filename.cfm would simply redirect.  However now it seems like if the request is for a CFM, IIS ignores this, and hands it off to ColdFusion's 404 template, completely bypassing the redirect directive in the web.config for a given directory.  This is creating more 404's than previously because we had actually successfully managed them using folder redirects in the IIS admin tool.

 

I wonder if others have suggestions on how to handle.  I know that another way is simply to "sniff" for the 404 path that is passed to the CF 404 template.  That's proved to be challenging as well, since the latest version of CF doesn't seem to carry through that query string/referer to the 404 page.

 

I'd rather handle it all in IIS and I wonder if anyone has successfully done this with CF 10 and IIS 7.5 or 8.0?

 

Thank you!

 

Chuck Wyatt


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>