URL-Based Limiting Rules
- Last Updated: October 9, 2024
- 1 minute read
- LoadMaster
- LoadMaster GA
- Documentation
You can list the existing URL-based limiting rules by running the listlimitrules command, for example:
/access/listlimitrulesYou can add a new URL-based limiting rule by running the addlimitrule command, for example:
/access/addlimitrule?name=ExampleRule&pattern=/test/a.html&limit=5&match=0You can modify an existing URL-based limiting rule by running the modlimitrule command, for example:
/access/modlimitrule?name=ExampleRule&pattern=/test/b.html&limit=5&match=0Valid values for the match parameter are as follows:
- 0 - Request
- 1 - Host
- 2 - User Agent
- 64 - !Request
- 65 - !Host
- 66 - !UserAgent
Note: The values with an exclamation mark (!) before them matches the inverse, for example, not a specific request or not a specific user agent.
You can delete an existing URL-based limiting rule by running the dellimitrule command, for example:
/access/dellimitrule?name=ExampleRuleYou can move the position of an existing URL-based limiting rule by running the movelimitrule command, for example:
/access/movelimitrule?name=ExampleRule3&position=1Setting the position parameter to a value larger than the size of the list will move the rule to the end of the list.