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

requestrules.ini [Rule-system_url_full_view_audit]

The settings of [Rule-system_url_full_view_audit] in requestrules.ini: Description, Conditions, Action, ActionArgs

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/requestrules/Rule-system_url_full_view_audit.md

On this page

requestrules.ini [Rule-system_url_full_view_audit]

The block [Rule-system_url_full_view_audit] of settings/requestrules.ini, with 4 setting(s).

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

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

Description

Default: Writes a line to var/log/requestrules.log for every full view typed as its system URL by a user without content/view_system_url, and changes nothing. Put it first to see who would be affected before switching a stricter rule on..

<?php /* #?ini charset="utf-8"?
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_audit]
Description=Writes a line to var/log/requestrules.log for every full view typed as its system URL by a user without content/view_system_url, and changes nothing. Put it first to see who would be affected before switching a stricter rule on.
*/ ?>

Conditions

Default: a hash of 4: requested_via=system, module_view=content/view, view_mode=full, policy=!content/view_system_url.

<?php /* #?ini charset="utf-8"?
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_audit]
# an empty "Conditions[]" first replaces the shipped list; without it the items are added
Conditions[]
Conditions[requested_via]=system
Conditions[module_view]=content/view
Conditions[view_mode]=full
Conditions[policy]=!content/view_system_url
*/ ?>

Action

Default: log.

<?php /* #?ini charset="utf-8"?
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_audit]
Action=log
*/ ?>

ActionArgs

Default: a hash of 1: message=system URL {typed_uri} (node {node_id}) by {user_login}.

<?php /* #?ini charset="utf-8"?
# settings/override/requestrules.ini.append.php
[Rule-system_url_full_view_audit]
# an empty "ActionArgs[]" first replaces the shipped list; without it the items are added
ActionArgs[]
ActionArgs[message]=system URL {typed_uri} (node {node_id}) by {user_login}
*/ ?>

Generated by ./console exp:help:examples from settings/requestrules.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