IIS7 URL Rewrite QuickTip: Allow Flash Gateway

We all know that ColdFusion allows Flash Remoting (AMF) communication to occur via two separate URL strings:

  • http://my.site.com/flex2gateway
  • http://my.site.com/flashservices/gateway

I recently came across the problem where the URL Rewrite rules in IIS7 were blocking both of these URLs from being passed on and correctly processed by ColdFusion. The solution is to add the following two rules to your site definition and move them both to the top of the stack, above any other rules you may have. This will effectively allow both of these URLs to process normally and stop and subsequent rules from executing if the pattern matches.

You can also edit your site definition web.config file to add the rules there:


	
	
	


	
	
	

Again, be sure they appear before any other rules and you should be good to go! Flash on!

Leave a Comment

Your email address will not be published. Required fields are marked *