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

error.ini [HTTPError-301]

The settings of [HTTPError-301] in error.ini: HTTPName, HeaderList

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/error/HTTPError-301.md

On this page

error.ini [HTTPError-301]

The block [HTTPError-301] of settings/error.ini, with 2 setting(s).

Definition of the HTTP error code 301
URL moved permanently

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

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

HTTPName

Default: Moved Permanently.

<?php /* #?ini charset="utf-8"?
# settings/override/error.ini.append.php
[HTTPError-301]
HTTPName=Moved Permanently
*/ ?>

HeaderList

Default: an empty list.

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

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