
36
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
Create verification exceptions
❖
Add
Exception
elements to the
UserAgentExceptions
section of the Application.xml file.
Certain applications—for example, Adobe® Flash® Media Live Encoder—do not support the form of SWF
verification used by the server. You can add one or more exceptions to the SWF verification rules that allow
specified user agents, such as Flash Media Live Encoder, to bypass SWF verification, as in the following:
<SWFVerification enabled="true">
...
<UserAgentExceptions>
<Exception to="FME/0.0" from="FME/2.5"/>
</UserAgentExceptions>
</SWFVerification>
Configure SWF verification globally
You can configure verification for a group of SWF files on the server that are common to all applications.
❖
In the Server.xml file
Root/Server/SWFVerification/SWFFolder
tag, specify folders that hold the verifying
SWF files. You can also configure other values for these SWF files.
Note:
In addition to configuring the SWFFolder tag in the Server.xml file, enable verification in the Vhost-level or
application-specific Application.xml file. See “Configure SWF Verification for Applications” in this topic.
DirLevelSWFScan
None.
Specifies the number of levels of subfolders within a parent folder to scan
for SWF files. The parent folder is specified in the
SWFFolder
element.
Specifying a positive value scans that number of subfolder levels.
Specifying zero scans the parent folder and no subfolders. Specifying a
negative value scans all subfolder levels. The default value is 1, which
means that the server scans only one subfolder level.
MaxInitDelay
None
The maximum amount of time to process SWF files, in seconds. The default
value is 5 seconds.
FirstHashTimeout
None
The maximum amount of time that a client can use to provide its first
verification to the server.
FinalHashTimeout
None
The maximum amount of time that a client can use to provide its final
verification to the server.
UserAgentExceptions
None.
Container.
Exception
from
to
A user agent to except from verification. Use the
from
and
to
attributes to
indicate the lowest and highest versions to except. This is a string
comparison, with editing to make all numeric fields equal in length. For
more information, see the comments in the Application.xml file and
“Create verification exceptions” later in this topic.
Cache
None.
Container.
TTL
None.
The time to live for the SWF file, in minutes. The default value is 1440
minutes (24 hours). If a SWF file is removed from the server, the verification
values stay in the cache for 24 hours; users can connect to the application
until the cache expires.
UpdateInterval
None.
The maximum time in minutes to wait for the server to scan the SWFs
folders for updates when there is a miss in the cache. The default value is 5
minutes, which means a SWF file copied to the SWFs folder is picked up by
the server within 5 minutes.
Element
Attribute
Description