
55
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
HTTPPROXY.HOST = :8134
•
Open the Adaptor.xml configuration file in a text editor.
If you have multiple adaptors, open the file for the adaptor you want to configure. The default Adaptor.xml file
is located in the
rootinstall
\conf\_defaultRoot_ folder.
Set the enable attribute of the
HttpProxy
tag to
"true"
, as in the following:
<HttpProxy enable="true" maxbuf="16384">
<Host port="80">${HTTPPROXY.HOST}</Host>
</HttpProxy>
Save and validate the Adaptor.xml file.
5
Restart the server.
Disable Apache and HTTP proxying
1
Open the fms.ini file in a text editor.
2
Remove port 80 from the
ADAPTOR.HOSTPORT
tag.
ADAPTOR.HOSTPORT = :1935
3
Do one of the following:
•
Open
rootinstall
/conf/fms.ini and set the value of the
HTTPPROXY.HOST
variable to no value:
HTTPPROXY.HOST =
•
Open the Adaptor.xml configuration file in a text editor.
If you have multiple adaptors, open the file for the adaptor you want to configure. The default Adaptor.xml file
is located in the
rootinstall
\conf\_defaultRoot_ folder.
Set the enable attribute of the
HttpProxy
tag to
"false"
, as in the following:
<HttpProxy enable="false" maxbuf="16384">
<Host port="80">${HTTPPROXY.HOST}</Host>
</HttpProxy>
Save and validate the Adaptor.xml file.
4
Restart the server.
Deliver SWF files and HTML files over HTTP
Apache can deliver SWF files, HTML files, JPG files, and many other standard file types over HTTP. Place files that
you want to deliver over HTTP in the correct folders. By default, Apache is configured to use following paths:
These folders are global, not application-specific. Any SWF files and HTML files you want to serve over HTTP must
be in these folders or in application-specific folders. To create aliases for application-specific folders, edit the
httpd.conf file.
Path
Location
Example URL
/
rootinstall
/Apache2.2/webroot
http://myFMSServer.com/app.swf
/cgi-bin
rootinstall
/Apache2.2/cgi-bin
http://myFMSServer.com/cgi-bin/someScript.pl