Monday 08 May 2006 12:35:24 am
From site.ini in 3.8:
[HTTPHeaderSettings]
# Enable/disable custom HTTP header data.
CustomHeader=disabled
# Header list. Contains all HTTP which should override standard ones.
HeaderList[]
HeaderList[]=Cache-Control
HeaderList[]=Pragma
HeaderList[]=Expires
# Default Cache-Control header
# HTTP Headers are specified using the following format :
# <HTTP header>[<eZ publish path|module{/view}>]=<value>{;<depth>{;<level>}}
#
# 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
To achieve what you need, you could try something like this:
[HTTPHeaderSettings]
# Enable/disable custom HTTP header data.
CustomHeader=enabled
# Header list. Contains all HTTP headers which should override standard ones.
HeaderList[]
HeaderList[]=Content-Type
Content-Type[]
Content-Type[/css]=text/css
|