19.17 mod_headers

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition
By Robert Eckstein, Stephen Spainhour
Table of Contents
Chapter 19.  Apache Modules

19.17 mod_headers

The mod_headers module allows administrators to merge, remove, or replace customizable HTTP response headers to be distributed with documents from the server.

Header

  Header  <setappendaddunset>:  header  [  value  ] 

[ server config , or within <VirtualHost> or <Directory>, or .htaccess ]

This directive allows administrators to merge, remove, or replace HTTP headers that are transmitted with server documents. The header action performed is specified after the Header directive; it can be one of four choices:

set

The header specified is reset to the value specified.

append

A header is appended to the specified response header, if it exists. The new value is listed after the old value and is separated by a comma.

add

A new header is created and added to the response headers, even if one already exists.

unset

This option deletes the first occurrence of the header in question.

Headers such as Date and Server cannot be overridden using this directive.


Team-Fly    
Top


Webmaster in a Nutshell
Webmaster in a Nutshell, Third Edition
ISBN: 0596003579
EAN: 2147483647
Year: 2002
Pages: 412

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net