Wildcard may include "*" and "?" wildcard characters. The "*" wildcard character represents any number of characters or an empty string. The "?" wildcard character represents a single character.
To match "*" and "?" characters they need to be escaped. For example, "a\*b" will match with "a*b". Backslash needs to be always escaped, so that "a\\b" wildcard matches with "a\b".
Resource matching
Resources match by both path and request. For example, "*.php" will match with "/dir/file.php", but will not match with "/dir/file.php?action=start". On the other hand, "*.php\?*" will match with "/dir/file.php?action=start" but will not match with "/dir/file.php".
Leave a Reply
You must be logged in to post a comment.