Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Swf file 404 error

Started by Muut Archive 11 years ago · 2 replies · 355 views
11 years ago

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.

11 years ago

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.

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

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1346 9 years ago
Archive · by Muut Archive, 9 years ago
2 933 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2945 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago