i know that this has been answered many many times, so if someone wants to point me to another thread that answers my question specifically, that is fine... for right now, my searches aren't yielding many results.

so i have a website like mysite.com that has a flash swf embedded in it and i go to www.mysite.com ... all of the sudden, things don't work properly. i would like to get to the bottom of this, because it's not like the page just "doesn't load" at all; it loads and i can only do certain things; as if certain functionality is disabled (might be url requests for specific urls etc).

do i need to manage this in my control panel? i wouldn't assume so, because the site loads; just has a crippled functionality from within the swf.

i was thinking it might have more to do with my crossdomain.xml file; could this be the case?

thanks for any tips or suggestions.

  • Please give more details about your setup. Linux? Windows? Apache? IIS?
    – David
    Commented Jan 15, 2010 at 4:01
  • os x; apache; flash.
    – jml
    Commented Jan 15, 2010 at 6:43

3 Answers 3


it turned out that i was issuing a request for the wrong URL. sorry for the noise. i made a req to mysite.com/some/url instead of www.mysite.com/some/url


  • relative URLs are your best friend!
    – dunxd
    Commented Jan 29, 2010 at 10:09

I think this will get you what you need in most cases.

You can add this to your .htaccess file on the server.

 RewriteEngine On
 RewriteCond %{HTTP_HOST}  !^www\.example\.net$       [NC]
 RewriteRule ^(.*)         http://www.example.net/$1  [L,R]

I got it from my web hosts wiki


Theres a huge Wiki article on this here: http://en.wikipedia.org/wiki/URL_redirection

Instead of turning on Rewrite engine a simple html file like:

  <meta http-equiv="Refresh" content="0; url=http://www.example.com/">
 <p>Please follow <a href="http://www.example.com/">link</a>!</p>

will solve your problem without having to engage more code.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .