I would just use ISAPI_Rewrite on the windows server and then a rewrite rule in 
a .htaccess file to interpret /foo as /foo.cfm

This rule should work...

RewriteRule ^([^/\.]+)/?$ $1.cfm


--
Shaun Webster
480 Broadway  Suite 328, Saratoga Springs NY 12866
office: 518.632.4333  |  mobile: 518.269.2132  |  fax: 518.490.1236
sh...@webvalve.com  |  www.webvalve.com

------------------------------------------------------
This email, and any files transmitted with it, is confidential and intended 
solely for the use of the individual or entity to whom it is addressed.
------------------------------------------------------

On Jun 2, 2010, at 1:01 PM, 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:334319
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to