SWF flash, htaccess, and mime types

innernumb / 2013-01-23 14:05:20   

I have a very interesting issue to share. When I properly initiate my website to display clean URLs with editing /ndzx-studio/defualts.php and .htaccess, all of my embedded .SWF flash files become instantly unable to load.

Trust me when I say that I have tried every combination of coding the .htaccess with no anvil. I moved onto the idea that my Apache 'Mime.Types' configuration is handling the .SWF extension as a text/plain file. So the fix would be to add 'AddType application/x-shockwave-flash .swf' to my 'Mime.Types' configuration but it was already there!

So now, I'm back at square one, with a messy URL and no proper way to share my creative work.

Any thoughts? Thank you for your time.

Vaska A / 2013-01-23 14:10:52   

Probably because you are using relative paths in your swf files.

innernumb / 2013-01-23 14:31:57   

Goodmorning Vaska,

So you think if I updated the embed codes with absolute paths, it would work? I will give this a try. Thank you.

Vaska A / 2013-01-23 14:36:31   

Yes. Because with clean url's, if you don't have absolute paths in your swf files, they will be accessing the wrong things. ;)

innernumb / 2013-01-25 03:33:16   

The all wise and knowing Vaska strikes again. Thanks for the help!

This thread has been closed, thank you.