
74
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
Sample response
<?xml version="1.0" encoding="UTF-8"?>
<controlplane-response xmlns="http://ns.adobe.com/hds/controlplane/status/1.0">
<manifest-file>
/livepkgr/_definst_/livestream.f4m
</manifest-file>
<stream name="livestream1">
<status-code>
1
</status-code>
<status-desc>
Command executed successfully.
</status-desc>
</stream>
</controlplane-response>
Using a third-party web server
You can use web servers other than the included version of Apache to serve Flash Media Server files. Note, however,
that the HTTP Module for HTTPDynamic streaming is currently supported only on Apache web servers. To use a
third-party web server, use the following guidelines:
•
Configure Flash Media Server and the web server so that they do not share a port. (You must decide which server
can use ports 80 and 443, or you must multi-home the servers (by using separate IP addresses/physical NICs).
•
If you want Flash Media Server and your web server to share a port, set up Flash Media Server as the proxy, put your
web server on an unused port, and change the fms.ini
HTTPPROXY_HOST
setting to point to that port.
•
If you want your web server to serve the Flash Media Server standard files, either put the files in your web server's
document root, or add the Flash Media Server document root (
rootinstall
/webroot) as a virtual directory for your
web server.
•
If you want your web server to serve Progressive Download (PD) files from the same location as Flash Media Server,
add an alias or secondary document root to point to
rootinstall
/webroot/vod. You can also add a virtual directory
to the vod application that points to your web server's document root.
•
If you want your web server to use the exact same settings as the Flash Media Server pre-installed web server (or
you want to start with that and then customize it), start with the default Apache httpd.conf file that was included
with Flash Media Server.
•
Configure your web server so that it handles the correct MIME types. For example, add the
video/x-flv
MIME
type for *.flv files. For other MIME types, view the configuration file for the mod_mime_magic Apache module and
the
installroot
/Apache2.2/conf/mime.types file.