Skip to main content

3 posts tagged with "adobe-air"

View All Tags

· 2 min read

According to the Apache URL rewriting guide, the way to handle Canonical Hostnames is like this:

RewriteCond %{HTTP_HOST}   !^fully\.qualified\.domain\.name [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://fully.qualified.domain.name/$1 [L,R]

Well, those rules are not always sufficient. Specifically, what if you also owned the www.example.com.au domain, and wished to redirect it also to the primary www.example.com domain? The solution is simple - we just need to add a single $ character to the end of the match-pattern of the first RewriteCond like this:

RewriteCond %{HTTP_HOST}   !^fully\.qualified\.domain\.name$ [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://fully.qualified.domain.name/$1 [L,R]

Now that will work nicely as long as the hosts use standard ports (ie 80 for HTTP, and 443 for HTTPS). However, some Python versions unnecessarily append the standard HTTPS port number to the Host HTTP header. Also I discovered today (after some Apache debug logging) that Adobe AIR applications have the exact same misbehavior for HTTPS, but only when running under Mac OS X.

· One min read

I'm currently sitting in (and posting from) the first Adobe AIR Camp in Australia... there's not much going on yet, but the day is young! :)

Currently, Andrew Spaulding is introducing Flex Builder 3... since I've been using it for some time now, this part's a little slow ;)

Okay, now he's talking about using transparent images for application chrome... getting interesting... better go now :)

· 2 min read

The Adobe AIR command line compiler ( axmlc adds a "Flex Data Visualization Trial" watermark to the background of chart and AdvancedDataGrid controls. If you are licensed to use Flex Builder 3 Professional, then you can fix this quite easily...

There are a number of pages on the internet that explain how to apply your Flex Builder 3 Professional license to the mxml (non-AIR Flex application compiler), such as:

But none of those cover the AIR compiler, however, it turns out that licensing the AIR compiler (axmlc)is just as easy as licensing the non-AIR (mxml) compiler.