Macromedia flash media server 2-managing flash media server ユーザーズマニュアル

ページ / 238
176
Configuration Files
RouteEntry
This tag contains the routing information that instructs the proxy to forward the connection 
request to one server’s IP address and port number [host:port] to a different 
host:port
.
Syntax
<host1>:<port1>;<host2>:<port2> 
The syntax instructs a Flash Media Server proxy where to route the connection to
 
host1:port1
 to 
host2:port2
Description
Proxies or edge servers are configured with the 
RouteEntry
 tag to direct connections to 
another destination. The 
RouteTable
 tag contains the 
RouteEntry
 tags that control where 
the edge or proxy server reroutes requests. 
You can also add the 
protocol
 attribute to an individual 
RouteEntry
 tag to specify how the 
the edge or proxy server reroutes requests. If no protocol is specified, however, Flash Media 
Server applies the protocol specified in the 
RouteTable
 tag. Implicit proxies hide the routing 
information from the clients.
The connection syntax for this tag is flexible, as demonstrated in the following examples.
Examples
<Proxy>
<RouteTable protocol=””>
<RouteEntry>foo:1935;bar:80</RouteEntry>
</RouteTable>
</Proxy>
This example shows how you can configure the proxy to route all connections to the host 
“foo”
 to the host 
“bar.”
 
<RouteEntry>*:*;foo:1935</RouteEntry>
Flash Media Server allows the use of the wildcard character '*' to replace host and port.The 
example shows how to route connections destined for any host on any port to port 1935 on 
the host 
“foo.”
 
<RouteEntry>*:*;*:1936</RouteEntry>
The example instructs Flash Media Server to route connections to any host on any port, to the 
specified host on port 1936. For example, if you were to connect to 
"foo:1935"
, the 
connection would be routed to 
"foo:1936".
<RouteEntry>*:*;*:80</RouteEntry>