Skip to the content
Documentation

HeaderList

No ratings yet

Summary

Contains all HTTP which should override standard ones.

Usage

Defines the headers which should be set(overriden), the value of the headers is defined in own setting.

Examples

With a header list setting like this:

HeaderList[]=Pragma

The corresponding setting Pragma will be used to find matching value for the HTTP header based on page url:

# Default Cache-Control header
# HTTP Headers are specified using the following format :
# <HTTP header>[<Exponential path|module{/view}>]=<value>{;<depth>{;<level>}}
# Note: to use a semicolon in the value, you need to escape it with a backslash.
#
# Example :
#
# Set Pragma HTTP header to no-cache for whole site, except /news, and 2 levels below news.
# Pragma[]
# Pragma[/]=no-cache;2
# Pragma[/news]=;2;0

For more examples, have a look in settings/site.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.