---
updatedAt: 2026-11-02T09:38:55.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/property-mgr/llms.txt
---

# Filename

# How does it work?

This criterion lets you match based on the file name in the request URL and test whether the file name is present.

# Operators

You can select the following logical conditions:

[block:parameters]
{
  "data": {
    "h-0": "Value",
    "h-1": "The rule is true when...",
    "0-0": "**is one of** ",
    "1-0": "**is not one of**",
    "0-1": "the incoming request includes any of the specified file names.",
    "1-1": "the incoming request does not include any of the specified file names.",
    "2-0": "**is empty**",
    "3-0": "**is not empty**",
    "2-1": "the incoming request does not include any file name component in the path.",
    "3-1": "the incoming request includes a file name component in the path."
  },
  "cols": 2,
  "rows": 4
}
[/block]

# Fields

In the text field, enter the file names you want to match with extensions. You can include several filenames and separate each with a space, comma, or carriage return.

# Wildcards

You can use the following wildcard values to represent a file's extension when matching on a specific filename.

[block:parameters]
{
  "data": {
    "0-0": "***** ",
    "1-0": "**?** ",
    "0-1": "Matches all characters (including no characters).",
    "h-1": "Description",
    "h-0": "Wildcard",
    "h-2": "Example",
    "1-1": "Matches a single character.",
    "0-2": "Here, we use **football.*** to match files named \"football\" that use *any* extension. Possible valid results for this wildcard are **football.doc**, **football.jpg**, and  **football.mpeg**.",
    "1-2": "Here, we use **football.do?** to match files named \"football\" with a three letter extension beginning with \"do.\" Some possible valid results for this wildcard are **football.doc**, **football.dot**, **football.dos**. But, since the ? only applies to a *single character*, so it wouldn't match on **football.docx** and **football.docm**."
  },
  "cols": 3,
  "rows": 2
}
[/block]

# Case-sensitive

If you select this option, the filename in the incoming request has to match the case of the entry.

# Sibling pages

* [Advanced Match](https://techdocs.akamai.com/property-mgr/docs/adv-match.md)
* [Akamai Server Location](https://techdocs.akamai.com/property-mgr/docs/akamai-server-location.md)
* [CDN Network](https://techdocs.akamai.com/property-mgr/docs/cdn-network.md)
* [ChinaCDN Region](https://techdocs.akamai.com/property-mgr/docs/chinacdn-region.md)
* [Client certificate](https://techdocs.akamai.com/property-mgr/docs/client-cert.md)
* [Client IP](https://techdocs.akamai.com/property-mgr/docs/client-ip.md)
* [Client IP Version](https://techdocs.akamai.com/property-mgr/docs/client-ip-version.md)
* [Conditional Origin ID](https://techdocs.akamai.com/property-mgr/docs/conditional-origin-id.md)
* [Content Provider Code](https://techdocs.akamai.com/property-mgr/docs/content-provider-code-match.md)
* [Content Type](https://techdocs.akamai.com/property-mgr/docs/content-type.md)
* [Debug Mode](https://techdocs.akamai.com/property-mgr/docs/debug-mode.md)
* [Device Characteristics](https://techdocs.akamai.com/property-mgr/docs/device-charac.md)
* [EdgeWorkers Execution Status](https://techdocs.akamai.com/property-mgr/docs/edge-workers-failure.md)
* [File Extension](https://techdocs.akamai.com/property-mgr/docs/file-ext.md)
* [Hostname](https://techdocs.akamai.com/property-mgr/docs/hn.md)
* [Image and Video Manager](https://techdocs.akamai.com/property-mgr/docs/img-video-manager.md)
* [Metadata Stage](https://techdocs.akamai.com/property-mgr/docs/metadata-stage.md)
* [Origin Timeout](https://techdocs.akamai.com/property-mgr/docs/origin-timeout.md)
* [Path](https://techdocs.akamai.com/property-mgr/docs/path-match.md)
* [Percentage of Clients](https://techdocs.akamai.com/property-mgr/docs/percentage-clients.md)
* [Query String Parameter](https://techdocs.akamai.com/property-mgr/docs/query-string-param.md)
* [Recovery Configuration Name](https://techdocs.akamai.com/property-mgr/docs/recovery-config-name.md)
* [Regex](https://techdocs.akamai.com/property-mgr/docs/regex.md)
* [Response Cacheability](https://techdocs.akamai.com/property-mgr/docs/response-cacheability.md)
* [Response Header](https://techdocs.akamai.com/property-mgr/docs/response-header.md)
* [Response Status Code](https://techdocs.akamai.com/property-mgr/docs/response-status-cookie.md)
* [Request Cookie](https://techdocs.akamai.com/property-mgr/docs/req-cookie.md)
* [Request Header](https://techdocs.akamai.com/property-mgr/docs/req-header.md)
* [Request Method](https://techdocs.akamai.com/property-mgr/docs/req-method.md)
* [Request Protocol](https://techdocs.akamai.com/property-mgr/docs/req-protocol.md)
* [Request Type](https://techdocs.akamai.com/property-mgr/docs/req-type.md)
* [Sample Percentage](https://techdocs.akamai.com/property-mgr/docs/sample-percentage.md)
* [Time Interval](https://techdocs.akamai.com/property-mgr/docs/time-interval.md)
* [Token Verification Result](https://techdocs.akamai.com/property-mgr/docs/token-ver-result.md)
* [User Agent](https://techdocs.akamai.com/property-mgr/docs/user-agent.md)
* [User Location Data](https://techdocs.akamai.com/property-mgr/docs/user-loc-data.md)
* [User Network Data](https://techdocs.akamai.com/property-mgr/docs/user-network-data.md)
* [Variable](https://techdocs.akamai.com/property-mgr/docs/var.md)
* [Variable Error](https://techdocs.akamai.com/property-mgr/docs/var-err.md)