Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

requestclassifier.ini [ThresholdSettings]

The settings of [ThresholdSettings] in requestclassifier.ini: Max404PerMinute, WindowSeconds, Statuses

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/requestclassifier/ThresholdSettings.md

On this page

requestclassifier.ini [ThresholdSettings]

The block [ThresholdSettings] of settings/requestclassifier.ini, with 3 setting(s).

Never edit settings/requestclassifier.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/requestclassifier.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/requestclassifier.ini.append.php for one siteaccess,
  • extension/<extension>/settings/requestclassifier.ini.append.php in an extension (read when the extension is active).

Max404PerMinute

More than this many not-found answers (Statuses[]) to one client within WindowSeconds makes every further one in
that window a verdict threshold/404-rate (medium; high above twice the limit). 0 switches the rule off. The client
is counted by a salted hash of its address in var/<site>/cache/requestclassifier/counter/, shared by every PHP
process of the installation (the web server's and Velocity's); the address itself is never stored.

Default: 30.

<?php /* #?ini charset="utf-8"?
# settings/override/requestclassifier.ini.append.php
[ThresholdSettings]
Max404PerMinute=30
*/ ?>

WindowSeconds

Default: 60.

<?php /* #?ini charset="utf-8"?
# settings/override/requestclassifier.ini.append.php
[ThresholdSettings]
WindowSeconds=60
*/ ?>

Statuses

Default: a list of 2: 404, 410.

<?php /* #?ini charset="utf-8"?
# settings/override/requestclassifier.ini.append.php
[ThresholdSettings]
# an empty "Statuses[]" first replaces the shipped list; without it the items are added
Statuses[]
Statuses[]=404
Statuses[]=410
*/ ?>

Generated by ./console exp:help:examples from settings/requestclassifier.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x