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

exp:ezrequestrules

List and check the request rules of a siteaccess and explain their decision for an address.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/commands/ezrequestrules.md

On this page

exp:ezrequestrules

List and check the request rules of a siteaccess and explain their decision for an address.

Script bin/php/ezrequestrules.php, code in kernel/private/classes/commands/ezrequestrules.php. Run it from the installation root, as the user the web server runs as:

./console exp:ezrequestrules --help
php bin/php/ezrequestrules.php --help

Help text

Exponential request rules
Lists and checks the rules of a siteaccess and explains their decision for an address.

  php bin/php/ezrequestrules.php -s site --list
  php bin/php/ezrequestrules.php -s site --check
  php bin/php/ezrequestrules.php -s site --uri=content/view/full/2
  php bin/php/ezrequestrules.php -s site --uri=Fit-Healthy --user=admin
  php bin/php/ezrequestrules.php -s site --uri=content/view/full/2 --header=X-Requested-With:XMLHttpRequest --ip=10.1.2.3

Options

OptionValueHelp
--listList the rules in the order they are asked
--checkReport problems in the settings; exits 1 when there are any
--urirequiredExplain the decision for this address, as typed after the host and siteaccess (e.g. content/view/full/2 or Fit-Healthy)
--userrequiredThe login of the user to explain it for (default: the anonymous user)
--methodrequiredHTTP method (default GET)
--hostrequiredHost name the visitor used
--iprequiredClient address
--schemerequiredhttp or https (default https)
--headerrequiredA request header, Name:Value; may be given more than once

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/ezrequestrules.php, kernel/private/classes/commands/ezrequestrules.php. 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