Re: IIS Missing CFM Pages

2010-07-22 Thread Dave Watts

> How can I make IIS 404 work for missing CFM pages?
>
> It works for any except CFM.

By default, CF requests are passed through IIS without IIS checking
for the individual pages. This is very useful behavior, as many CF
tags and specific pieces of functionality require that CF make up new
URLs on the fly, or map specific URL requests to non-existent URLs.

If you can live without those pieces of functionality, you can enable
the "check if file exists" option in the IIS configuration for the
specific ISAPI extension used by CF.

If you can't live without those pieces of functionality, I recommend
that you implement your own 404 handling in CF. There are various
mechanisms for this, such as the Missing Template Handler in the CF
Admin ... Server Settings ...Settings page.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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


Re: IIS Missing CFM Pages

2010-07-22 Thread Brad Wood

Check the "Verify that file exists" checkbox on the IIS mapping.

Beware, this will break things like cfimage display in browser, cfchart 
output and RDS sine those rely on the wildcard mapping to non-existent 
directories that CF still processes.

~Brad

- Original Message - 
From: "Robert Harrison" 
To: "cf-talk" 
Sent: Thursday, July 22, 2010 11:46 AM
Subject: IIS Missing CFM Pages


>
> How can I make IIS 404 work for missing CFM pages?
>
> It works for any except CFM.


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


IIS Missing CFM Pages

2010-07-22 Thread Robert Harrison

How can I make IIS 404 work for missing CFM pages? 

It works for any except CFM.



Robert B. Harrison
Director of Interactive Services
Austin & Williams
125 Kennedy Drive, Suite 100 
Hauppauge NY 11788
P : 631.231.6600 Ext. 119 
F : 631.434.7022
http://www.austin-williams.com 

Great advertising can't be either/or.  It must be &.

Plug in to our blog: A&W Unplugged
http://www.austin-williams.com/unplugged


 

__ Information from ESET Smart Security, version of virus signature
database 5301 (20100722) __

The message was checked by ESET Smart Security.

http://www.eset.com
 

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