summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorAshley Sanders <asanders@digium.com>2015-01-30 16:52:12 +0000
committerAshley Sanders <asanders@digium.com>2015-01-30 16:52:12 +0000
commit112d23c73e0a81f5870ba9f58aa588b89ae31c44 (patch)
tree7c4896840f1c084aebe51c9e9c6206c1c50f62d2 /configs
parent43dd42d8aeee1eff844f605544901016047348e2 (diff)
HTTP: For httpd server, need option to define server name for security purposes
Added a new config property [servername] to the http.conf file; updated the http server to use the new property when sending responses, for showing http status through the CLI and when reporting status through the 'httpstatus' webpage. ASTERISK-24316 #close Reported By: Andrew Nagy Review: https://reviewboard.asterisk.org/r/4374/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@431471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/samples/http.conf.sample10
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/samples/http.conf.sample b/configs/samples/http.conf.sample
index 44095a11e..1d23a67f6 100644
--- a/configs/samples/http.conf.sample
+++ b/configs/samples/http.conf.sample
@@ -13,6 +13,16 @@
;
[general]
;
+; The name of the server, advertised in both the Server field in HTTP
+; response message headers, as well as the <address /> element in certain HTTP
+; response message bodies. If not furnished here, "Asterisk/{version}" will be
+; used as a default value for the Server header field and the <address />
+; element. Setting this property to a blank value will result in the omission
+; of the Server header field from HTTP response message headers and the
+; <address /> element from HTTP response message bodies.
+;
+;servername=Asterisk
+;
; Whether HTTP/HTTPS interface is enabled or not. Default is no.
; This also affects manager/rawman/mxml access (see manager.conf)
;