From 1716b090f9a1aa9fff80e5f024c7ae29036444c8 Mon Sep 17 00:00:00 2001
From: Badlop <badlop@process-one.net>
Date: Mon, 23 Nov 2009 12:00:46 +0000
Subject: Option to define custom HTTP headers in mod_http_fileserver
 (EJAB-612)

SVN Revision: 2747
---
 doc/guide.tex | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'doc/guide.tex')

diff --git a/doc/guide.tex b/doc/guide.tex
index 6a967ae2c..7e8143a75 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -2849,6 +2849,9 @@ Options:
   \titem{\{accesslog, Path\}} \ind{options!accesslog}
     File to log accesses using an Apache-like format.
     No log will be recorded if this option is not specified.
+  \titem{\{custom\_headers, [ \{Name, Value\}, ...]\}} \ind{options!customheaders}
+    Indicate custom HTTP headers to be included in all responses.
+    Default value is: \term{[]}
   \titem{\{directory\_indices, [Index, ...]\}} \ind{options!directoryindices}
     Indicate one or more directory index files, similarly to Apache's
     DirectoryIndex variable. When a web request hits a directory
@@ -2886,6 +2889,9 @@ To use this module you must enable it:
                                           {".png", "image/png"},
                                           {".jpg", undefined}
                                          ]},
+                         {custom_headers, [{"X-Powered-By", "Erlang/OTP"},
+                                           {"X-Fry", "It's a widely-believed fact!"}
+                                          ]},
                          {default_content_type, "text/html"}
                         ]
   },
-- 
cgit v1.2.3

