Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

HeaderList

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>[<eZ Publish 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.

Svitlana Shatokhina (24/05/2006 7:31 am)

Sarah Haïm-Lubczanski (17/07/2014 3:59 pm)

Svitlana Shatokhina, André R., Sarah Haïm-Lubczanski


Comments

There are no comments.