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 [HostFallbackSettings]

The settings of [HostFallbackSettings] in velocity.ini: Enabled, Upstream, Errors, Window, Hold, StateDir, Report

Download as PDF

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

On this page

velocity.ini [HostFallbackSettings]

The block [HostFallbackSettings] of settings/velocity.ini, with 7 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).

Enabled

A host whose answers turn into a storm of 5xx (Errors within Window
seconds), or that a tool flagged in StateDir, goes back to the previous web
server for Hold seconds: Upstream (plain HTTP host:port or unix:/path), or,
with no Upstream, a 503 that says why (X-Vc-Fallback: unavailable) for the
web server in front to hand to the previous server. Report runs once per
episode. Engine v0.0.4.65 or later.

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[HostFallbackSettings]
Enabled=disabled
*/ ?>

Upstream

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[HostFallbackSettings]
Upstream=
*/ ?>

Errors

Default: 20.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[HostFallbackSettings]
Errors=20
*/ ?>

Window

Default: 60.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[HostFallbackSettings]
Window=60
*/ ?>

Hold

Default: 300.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[HostFallbackSettings]
Hold=300
*/ ?>

StateDir

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[HostFallbackSettings]
StateDir=
*/ ?>

Report

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/velocity.ini.append.php
[HostFallbackSettings]
Report=
*/ ?>

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