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_content_view_notfound]

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

Download as PDF

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

On this page

requestrules.ini [Rule-system_url_content_view_notfound]

The block [Rule-system_url_content_view_notfound] of settings/requestrules.ini, with 3 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: Every content view typed as its system URL (any view mode) is not found, unless the user has the policy content/view_system_url..

<?php /* #?ini charset="utf-8"?
# settings/override/requestrules.ini.append.php
[Rule-system_url_content_view_notfound]
Description=Every content view typed as its system URL (any view mode) is not found, unless the user has the policy content/view_system_url.
*/ ?>

Conditions

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

<?php /* #?ini charset="utf-8"?
# settings/override/requestrules.ini.append.php
[Rule-system_url_content_view_notfound]
# 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[policy]=!content/view_system_url
*/ ?>

Action

Default: notfound.

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

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