Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,199 of 9,199 pages
About the help in other languages
All help pages

velocity.ini [ErrorDocumentSettings]

The settings of [ErrorDocumentSettings] in velocity.ini: Hosts, Documents

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/velocity/ErrorDocumentSettings.md

On this page

velocity.ini [ErrorDocumentSettings]

The block [ErrorDocumentSettings] of settings/velocity.ini, with 2 setting(s).

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

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

Hosts

Apache's ErrorDocument for the answers the server makes itself (403 for a
path it refuses, 404 ...), per host name: Documents[<status>]=<file>, such
as Plesk's error_docs. Pages the application renders are not touched.

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[ErrorDocumentSettings]
# an empty "Hosts[]" first replaces the shipped list; without it the items are added
Hosts[]
*/ ?>

Documents

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[ErrorDocumentSettings]
# an empty "Documents[]" first replaces the shipped list; without it the items are added
Documents[]
*/ ?>

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