Configuration
All settings are site settings. Edit them in
Site Management > Settings, or in the site's settings.:
solrShield:
uriObfuscation:
enabled: true
rejectAction: '403'
URI obfuscation
-
- Type
- bool
- Default
- true
Encode
tx_parameters intosolr _ss, rewrite search forms and reject unsigned requests. When disabled, Solr Shield leaves links, forms and requests alone.
-
- Type
- string
- Default
- 403
What happens to a rejected request:
403- An empty
403 Forbiddenresponse. redirect302to theRefererof the request if it has the same scheme, host and port, otherwise to the site root. Only the path and query of the referer are kept.
Bot detection
-
- Type
- bool
- Default
- false
Include the bot-detection script and reject Solr requests whose behavioural payload is missing or scores too low (see Bot detection). Autocomplete requests are exempt.
Attention
Visitors without JavaScript can no longer search or follow filter links once this is enabled.
-
- Type
- int
- Default
- 3
Seconds between page load and a search. Faster requests fail one check.
-
- Type
- int
- Default
- 7
How many of the ten checks must pass. Values outside 0–10 are clamped, so a negative value requires no counted check;
webdriverand the 800×600 screen still reject on their own.
-
- Type
- bool
- Default
- true
When enabled, a request without any mouse or touch event fails one check.