Coldfusion – Helicon Tech Blog http://www.helicontech.com/articles Web Server Enhancements Thu, 04 Aug 2011 10:18:59 +0000 en-US hourly 1 https://wordpress.org/?v=5.2.4 Adjusting Coldfusion & ISAPI_Rewrite collaboration http://www.helicontech.com/articles/adjusting-coldfusionisapi_rewrite-collaboration/ http://www.helicontech.com/articles/adjusting-coldfusionisapi_rewrite-collaboration/#comments Thu, 18 Feb 2010 14:57:00 +0000 http://localhost:85/blog/?p=64 Continue reading ]]> If you have ISAPI_Rewrite3 (Ape) and Coldfusion installed on your server, you may encounter issues with requests to .cfm resources. The problem lies in handler mappings configuration. To resolve it, any handler mappings for *.cfm extension should be mapped to 1\jrun_iis6_wildcard.dll executable (instead of run_iis6.dll).

The following piece of code should be put into the web.config in the root of your site if you are on Windows Server 2008 (the x‘s in bold are machine-specific and must be replaced by proper numbers):

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <remove name="AboMapperCustom-xxxxxxxx" />
      <remove name="AboMapperCustom-xxxxxxxx" />
      <remove name="AboMapperCustom-xxxxxxxx" />
      <remove name="AboMapperCustom-xxxxxxxx" />
      <remove name="AboMapperCustom-xxxxxxxx" />
      <add name="AboMapperCustom-xxxxxxxx" path="*.cfm" verb="*" modules="IsapiModule"
         scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll"
         resourceType="Unspecified" requireAccess="Script" responseBufferLimit="0" />
      <add name="AboMapperCustom-xxxxxxxx" path="*.cfc" verb="*" modules="IsapiModule"
         scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll"
         resourceType="Unspecified" requireAccess="Script" responseBufferLimit="0" />
      <add name="AboMapperCustom-xxxxxxxx" path="*.cfml" verb="*" modules="IsapiModule"
         scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll"
         resourceType="Unspecified" requireAccess="Script" responseBufferLimit="0" />
      <add name="AboMapperCustom-xxxxxxxx" path="*.cfr" verb="*" modules="IsapiModule"
         scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll"
         resourceType="Unspecified" requireAccess="Script" responseBufferLimit="0" />
      <add name="AboMapperCustom-xxxxxxxx" path="*.cfswf" verb="*" modules="IsapiModule"
         scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll"
         resourceType="Unspecified" requireAccess="Script" responseBufferLimit="0" />
    </handlers>
  </system.webServer>
</configuration>
 

Regards,
Anton, Helicon Tech Team

]]>
http://www.helicontech.com/articles/adjusting-coldfusionisapi_rewrite-collaboration/feed/ 2