Skip to the content
Documentation

[RequestRuleSettings]

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The group [RequestRuleSettings] of settings/requestrules.ini.

File

settings/requestrules.ini; override it in settings/override/requestrules.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
Enabled true true or false. With false no rule is asked; the kernel behaves as before this feature existed.
RuleList[] (empty array) The rules asked, in order. Empty: no rule (and no cost). A siteaccess override that starts with RuleList[] (empty) replaces the list.
RuleProviders[] (empty array) Rules computed in PHP: classes implementing ezpRequestRuleProvider. Their rules come after the RuleList rules.
FactProviders[] (empty array) Facts added to every request, for conditions such as Conditions[fact:<name>]: classes implementing ezpRequestFactProvider.
MaxRewrites 3 How many times one request may be rewritten (Action=rewrite) before it is answered with "not found". Stops a rewrite loop.
ConditionHandlers[] (empty array) Conditions and actions by name, added to the built-in ones (listed in the guide). An extension adds its own: ConditionHandlers[customer_tier]=myCustomerTierCondition ActionHandlers[paywall]=myPaywallAction
ActionHandlers[] (empty array)  

See also

Generated example: requestrules.ini [RequestRuleSettings]

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/requestrules.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.