
129
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
Example
<HTTPNull enable="false">
HttpProxy
Specifies whether the server proxies unknown requests to an external server. For proxying to work,
HTTPTunnel/Enable must be set to
true
.
Request proxying to a specific host can be further controlled based upon port on which the request arrived. Flow
control kicks in when the buffer in either direction fills up, automatically handling the case when producers and
consumers differ widely in bandwidth.
Attributes
enable
A Boolean value. The default value is
true
.
maxbuf
The size of the io buffers. The default value is 16384.
Example
In the default Adaptor.xml file, the value of the
Host
element is a variable from the fms.ini file. You can set the value
of HTTPPROXY.HOST in the fms.ini file, or replace the variable in the Adaptor.xml file. The following is from the
default Adaptor.xml file:
<HttpProxy enable="true" maxbuf="16384">
<Host port="80">${HTTPPROXY.HOST}</Host>
</HttpProxy>
The IP address and port to which the server proxies unknown HTTP requests.HTTPPROXY.HOST =
webfarm.example.com:80
If you do not specify an IP address or domain name, the server uses a localhost port, as in the following:
HTTPPROXY.HOST = :8134
HTTPTunnel
Container element.
The elements in this section configure the incoming HTTP tunnelling connections to the adaptor. You can use the
contained
Edge
element to configure each edge individually.
Contained elements
Enable
,
NodeID
,
IdlePostInterval
,
IdleAckInterval
,
IdleTimeout
,
MimeType
,
WriteBufferSize
,
SetCookie
,
Redirect
,
Host
,
HttpProxy
,
NeedClose
,
MaxHeaderLineLength
,
Edge
HTTPUserInfo
Container element.
The elements in this section configure the absolute path to XML files and the cache settings.
Contained elements
Path
,
MaxSize
,
UpdateInterval