You will need to change a setting in IIS for the 404 page not found and point 
it to a CF page designed to process those requests. 

Thanks,
Brian

> On Feb 8, 2015, at 11:35 AM, Mark Spence <[email protected]> wrote:
> 
> 
> This is working on the live hosted site, but on my local install of iis and
> cf it isn't.
> 
> I have ses urls like this:
> 
> http://mysitedotcom/item-section/item-name-1034/index.cfm
> 
> The directories "item-section" and "item-name-1034" do not exist, so it
> should invoke the Application.cfc onMissingTemplate function, which is set
> up to serve the proper dynamic page.
> 
> However on my local setup, I am getting this iis error:
> 
> HTTP Error 404.0 - Not Found
> Detailed Error Information:
> Module   IIS Web Core Notification   MapRequestHandler Handler
> cfmHandler Error
> Code   0x80070002
> Requested URL
> http://mysitedotcom:80/site_mysubsite_com/items/item-name-1034/index.cfm
> Physical
> Path   C:\wwwroot\site_mysite_com\item-section\item-name-1034\index.cfm Logon
> Method   Anonymous Logon User   Anonymous
> It's like CF is not even getting to see the missing template error before
> IIS steps in.  I tried setting Application.cfc as the error page for 404
> errors but no dice.  How can I make CF take priority and handle the 404
> error?
> 
> Thank you.
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360089
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to