Swf file 404 error

Say i put demo.swf under /user/pages/media/, then try to access the file via http://example.com/media/demo.swf, it always shows Error 404.

Image files work fine, but other file formats seem to have the same issue.

What’s wrong with the new version? It used to work.

In your user/config/system.yaml file add an entry for swf to the fallback types which default since version 1.0.0-rc.3 to png,jpg,jpeg,gif only.

pages:
  ...
  fallback_types: [png,jpg,jpeg,gif,swf]   # Add swf to list

Alternatively you add .swf file types in the media types configuration file.