Skip to content
Myra Online Help Updated · 25 Aug 2026

Matching a file suffix

A WAF rule with the Path condition allows you to match requests based on the file extension, for example for media files.

example_matrrch_media_EN

Condition: Match the .mp4 suffix

For example, proceed as follows to match file extensions:

  • ► Select Request as the request method.
  • ► Add the Path condition.
  • ► Select the SUFFIX operator from the drop-down list.
  • ► Enter .mp4 as the value.
  • ► Add the Allow action.