
138
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
XML configuration files reference
Last updated 11/28/2012
Application.xml file
The Application.xml file contains the settings for Flash Media Server applications.
The Application.xml file in the virtual host directory configures the default settings for all applications within the
virtual host. If you want to have different settings for a particular application, copy an Application.xml file to the
application’s registered application directory (/applications/
app_name
) and edit it to include the settings you want.
In most cases, the settings in the Application.xml file in the application directory override settings in the
Application.xml file in the virtual host directory, but not always. You can add an
override
attribute to certain
elements in a virtual host’s Application.xml file, as in the following:
<LoadOnStartup override="no">false</LoadOnStartup>
The server uses the following rules when applying the
override
attribute:
•
When the
override
attribute is included in an element and set to
no
, application-specific Application.xml files
cannot override that element’s setting.
•
If an element has the
override
attribute set to
no
, then all subelements also cannot be overridden.
•
If an Application.xml file is located in the application directory and specifies a different value than the default for
an element that cannot be overridden, it is ignored, and the default is used.
•
If the default Application.xml file is missing or invalid, the server will not start.
•
If the user-specified Application.xml configuration file is invalid, it is ignored.
•
All subelements under the
LoadOnStartup
element cannot be overridden.
•
If you omit the
override
attribute, the
LoadOnStartup
element can be overridden.
•
To change an element so it cannot be overridden, set the
override
tag to
no
in the uppermost tag.
Note:
By default, the
Bandwidth
and
BandwidthCap
container elements include an
override
parameter set to
yes
,
which allows the values for the
ClientToServer
and
ServerToClient
elements nested in these sections to be
overridden. The
Client
element in this XML file includes an
override="no"
attribute by default.
To see the element structure and default values, see the Application.xml file installed with Flash Media Server in the
RootInstall
/conf/_defaultRoot_/_defaultVhost_ directory.
Access
Container element.
The Access plug-in consists of the libconnect.dll file. It intercepts and examines each connection request to Flash
Media Server to determine whether the connection should be accepted or rejected.
Contained elements
FolderAccess
Access (Logging)
Container element.
Contains elements that configure logging in the Access log.
Contained elements
Checkpoints