flash - crossdomain.xml not working -


I need to add a crossdomain.xml file to my website so that an embeddable widget can use its RSS feed . The widget is throwing an error, and it seems that my crossdomain.exm file is not being viewed as a valid XML file.

It has been observed that if you browse crossdomain file on your site, the browser downloads dialog opens:

If you visit the cross domain file on another site, then the browser File opens:

Maybe my server does not include the appropriate header for XML file? Is there any way to have a php crossdomain file and have header set in PHP?

Top, put:

   

To run the webserver as .xml as a .php file, call it .htaccess Add to>>

  RemoveHandler .xml AddType application / x-httpd-php .xml  

However, you can simply avoid PHP and simply Can write:

  AddType text / xml .xml  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -