From 1716b090f9a1aa9fff80e5f024c7ae29036444c8 Mon Sep 17 00:00:00 2001 From: Badlop 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.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/guide.html') diff --git a/doc/guide.html b/doc/guide.html index 7bd7457e7..0b647aae9 100644 --- a/doc/guide.html +++ b/doc/guide.html @@ -2155,6 +2155,9 @@ Directory to serve the files.
{accesslog, Path}
File to log accesses using an Apache-like format. No log will be recorded if this option is not specified. +
{custom_headers, [ {Name, Value}, ...]}
+Indicate custom HTTP headers to be included in all responses. +Default value is: []
{directory_indices, [Index, ...]}
Indicate one or more directory index files, similarly to Apache’s DirectoryIndex variable. When a web request hits a directory @@ -2184,6 +2187,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