Skip to main content
Participant
April 12, 2017
Question

Flash content displays when using http or www, but not when using https

  • April 12, 2017
  • 2 replies
  • 984 views

Why will flash/swf code work as expected when using http or www

but if I use the  https://   none of my flash content will work?

    This topic has been closed for replies.

    2 replies

    Participant
    April 12, 2017

    • Mac OS Sierra 10.12.4

    • Firefox 52.0.2  and/or Safari Version 10.1 (12603.1.30.0.34)

    YOUR SYSTEM INFORMATION
    Your Flash Version

    25.0.0.148

    Your browser name

    Firefox (NPAPI)

    Your Operating System (OS)

    Macintosh (OSX)

    http://www.terezakis.com/index7.html​    — works fine (below)

    https://www.terezakis.com/index7.html​  — not working   (large white square in FireFox)

    jeromiec83223024
    Inspiring
    April 12, 2017

    If you take a look at the Networking tab in Chrome's developer tools, you'll see that your server is returning HTTP 403 Forbidden when the SWF is requested.  Consequently, the content is never loaded by the browser.

    Something is misconfigured on your server.

    I noticed that some other content is also returning 403, like the GIF on this pages, which have the wrong MIME-TYPE configured:

    https://www.terezakis.com/index2.html

    https://www.terezakis.com/prints.html

    Similarly, the SWF is being served as text/html and returning the same error.  My guess is that the server looks at the mime-type associated with the file extension and sees you're trying to serve text content, but when it opens the file, it sees that the file actually contains binary data and throws an error.  Perhaps text/html is the default MIME-TYPE on your server, and you just need to set up the correct mime types for those file extensions?

    Hint the right mime types are:

    .gif -- image/gif

    .swf -- application/x-shockwave-flash

    Apache is super flexible so there are a bunch of ways to do things.

    Both of these are pretty solid recommendations, depending on your environmental constraints:

    apache - Apache2 server mime types - Stack Overflow

    apache - htaccess setting the mimetype for a single file - Stack Overflow

    Hope that helps!

    _maria_
    Legend
    April 12, 2017

    Hi,

    I branched your post to a new discussion topic.  Please provide the following information:

    • Operating system version
    • Web browser and version
    • Flash Player version
    • Explain your problem in step-by-step detail if possible
    • A direct link to the content that demonstrates the problem
    • If you get error messages, please  provide a screenshot