I'm sure there are many ways to do this, but one way is to just set a custom 
404 error handler to a URL on your site.  For instance, create a file called 
/404.cfm and use that in IIS as your 404 handler.  Then in 404.cfm, do any code 
you need to.  This way you don't actually have to create any directories or 
real pages.

- Andrew.


On 2010-06-02, at 13:01, Donnie Carvajal wrote:

> 
> I have a client that would like to send out URLs without .cfm.  For example, 
> there is a page in the website called acme.cfm.  To access the page, a 
> visitor would go to http://www.domain.com/acme.cfm.  The client would like to 
> also access acme.cfm by the following URL: http://www.domain.com/acme.  We 
> are on Windows and IIS 6.  Has anybody ever done anything like this before?  
> It seems that there would need to be an ISAPI filter or maybe have a custom 
> error redirect or some setting change in IIS.  I can write Coldfusion code 
> for this, but that means I would have to create folder for every page and 
> drop this CF code in the folder as the default and redirect to the acme.cfm 
> page.  I would like to avoid creating thousands of folders, just for this 
> redirect.
> 
> All help is appreciated.
> 
> Thanks,
> 
> Donnie 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:334235
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to