
45
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
<Application>
<ScriptEnging>
<FileObject override="no">
<VirtualDirectory>
/flashapps;C:\dev\Code\Flash\tincan\flashapps\
</VirtualDirectory>
</FileObject>
...
...
...
Performing general configuration tasks
Enable checkpoint logging events
Many companies use statistics from the access log to bill customers. If your programming includes live events or 24/7
programming, the events you use to calculate billing might not occur within a billing cycle. To solve this problem, you
can enable
checkpoint
events. Checkpoint events log bytes periodically during an event. The following are available as
checkpoint events:
connect-continue
,
play-continue
, and
publish-continue
.
You must enable checkpoint events at the server level in the Server.xml file. You can disable checkpoints at the vhost
and application level in the Vhost.xml and Application.xml files. You can also override the logging interval at the vhost
and application levels. For more information, see the comments in the XML files located in the
rootinstall
/conf folder.
1
Open the
rootinstall
/conf/Server.xml file in a text editor.
2
Locate the
Root/Server/Logging/Checkpoints
element:
<Checkpoints enable="false">
<CheckInterval>60</CheckInterval>
<LogInterval>3600</LogInterval>
</Checkpoints>
3
Set the
Checkpoints enable
attribute to
true
, like this:
<Checkpoints enable="true">
.
4
You can optionally set values for the
CheckInterval
and
LogInterval
elements to indicate how often the server
should check for and log events.
5
Save and validate the file.
6
Restart the server.
Allow Administration API methods to be called over HTTP
You must specify each Administration API method that may be called over HTTP.
1
Open the
rootinstall
/conf/fms.ini file.
2
Set the
USERS.HTTPCOMMAND_ALLOW
parameter to a comma-delimited list of APIs, and restart the server. The
default value is
ping
. For more information, see “
Allow (HTTPCommands)
” on page 232.