unhandledpaths?

21 views
Skip to first unread message

Seth Johnson

unread,
Apr 25, 2012, 3:18:08 PM4/25/12
to framew...@googlegroups.com
Hi Everyone,

I'm working on converting our existing IIS7 / Fusebox site over to FW/1.

On our current site I have defined a 404 handler in IIS to point to /404/404.cfm and have added this path to my unhandledpaths.

Currently if someone goes to www.mysite.com/johnsmith IIS will redirect the request to the 404 handler which will redirect them to the agent's personal page e.g. www.mysite.com/agents/aid/17

The problem I am running into on the new site is that FW/1 wants to handle all of those non-existent directories and is throwing an error that the default view does not exist for that folder. 

I'm not sure if there is a difference in my configuration between the two servers, or if this is side effect of having FW/1 installed.

Do I have to include every possible non-existent directory to the unhandledpaths parameter, or am I missing something?

Thank you!

Seth

@CapedCoder

unread,
Apr 25, 2012, 3:46:29 PM4/25/12
to framew...@googlegroups.com
After a bit of digging around in the docs, I implemented the onMissingView() handler in app.cfc which redirects those requests to my custom 404.  I think that should do the trick.

Seth
Reply all
Reply to author
Forward
0 new messages