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

ページ / 238
About configuration levels
71
The conf directory illustrated here contains two adaptor subdirectories: the _defaultRoot_ 
subdirectory and the Adaptor2 subdirectory. 
The _defaultRoot_ subdirectory contains the Adaptor.xml file and the _defaultVHost_ 
subdirectory and another virtual host subdirectory named www.macromedia.com. Each of 
these virtual host subdirectories contains an application subdirectory. The application 
subdirectory for www.macromedia.com contains directories for the applications 
testApplication and videoConference.
The Adaptor2 subdirectory contains its own _defaultVHost_ directory and another 
virtual host directory named www.streamingVideo.com. The www.streamingVideo.com 
subdirectory contains an application subdirectory with directories for 
AnotherTestApplication and a WhiteBoard application. 
Server administration over HTTP
Flash Media Server 2 lets you administer the server over HTTP as well as Real-Time 
Messaging Protocol (RTMP). You can use the same server management application 
programming interface (API) over HTTP as you would over RTMP. By passing command 
strings and arguments to the URL of your Flash Media Server, you can interact with the 
server to retrieve information or modify the server configuration. This API is described in 
detail in the Server Management ActionScript Language Reference, included with Flash Media 
Server.
Configuring Flash Media Server
A server administrator can control and configure the server by RTMP or HTTP or with the 
User
 and 
AdminServer
 tags in the Users.xml file. 
To construct a URL that sends a command to the server, you must include the following:
The directory admin after the server address and administration port number
The administrator user name and password after the command
TI
P
The /conf/adaptor_name/vhost_name/applications directory needs to be specified in 
the fms.ini or Vhost.xml file. By default, the Flash Media Server 2 installer creates an 
applications directory under the installation directory and sets fms.ini to point here. 
The /conf/adaptor_name/vhost_name/applications directory is different from the 
applications directory where you register your applications.