Category Archives: Tech

Getting flex2gateway Working with a WordPress Install

At work we recently moved our website over to WordPress, but left a lot of our backend Coldfusion code in tact. There weren’t too many problems until our AIR app needed to access flex2gateway. WordPress doesn’t like to play nice with it using the default .htaccess. Trying to find an answer online wasn’t proving to helpful. I finally got it working by placing this at the top of the .htaccess file.

RewriteCond %{REQUEST_URI} ^/(flashservices|flex2gateway).*$
RewriteRule ^(.*)$ - [NC,L]

After that it’s golden.