views:

245

answers:

2

I'm running an an ubuntu vm - django is running under apache2 behind nginx

I need to setup crossdomain.xml - currently getting 'access denied' etc when trying to play flash movs

whats the best way to set this up?

A: 

Hi

You can let nginx serve the crossdomain.xml for you. you can find an example config here.

this is more efficient and site-wide if you like.

jujule
thanks! looks spot on: trying that now :)
zack
+1  A: 

You could also try django-flashpolicies, which will construct the XML for you. It does serve the crossdomain.xml file via Django, which will be less efficient than serving it statically.

Carl Meyer