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

ページ / 238
12
Managing the Server
You can configure Flash Media Server 2 as an origin or edge server, configure adaptors and 
virtual hosts and change the location of the applications directory by editing the server’s 
configuration files and creating directories in the server’s conf directory. For more 
information, se
The default server administrator has the user name and password you chose during the Flash 
Media Server installation, and is defined in the Users.xml configuration file. The server 
administrator can connect to the Admin service with the management console and perform a 
variety of server administration tasks, including shutting down the server and disconnecting 
client applications. In the nomenclature of server administration, this server administrator is 
equivalent to the UNIX superuser.
Virtual host administrators can only perform tasks relating to the applications running on 
their own virtual host. There are no virtual host administrators defined when the server is first 
installed. Server administrators, including the default server administrator defined during 
installation, have access to all virtual hosts. Server administrators can add or delete virtual host 
administrators using the management console. 
Registering client applications   
The server is configured at installation with one adaptor directory named _defaultRoot_ 
containing one virtual host directory named _defaultVHost_. The server defines its virtual 
hosts at startup by searching for directories within the adaptor directory that contain valid 
Vhost.xml files, such as the _defaultVHost_ directory. At the same time, the server defines 
each application that will be allowed to connect to a virtual host by looking for application 
directories inside a directory specified by the 
AppsDir
 tag in the Vhost.xml file (by default, 
the applications directory in the Flash Media Server directory). 
For example, if you create an application named my_app, you must create a my_app 
subdirectory in the applications directory to register my_app.
You can specify the directory you want to use to store your client application directories by 
editing the 
AppsDir
 tag in the Vhost.xml file. By changing the path specified in this tag, you 
can locate the directory for the virtual host anywhere you want. If no directory is specified, it 
defaults to the virtual host directory itself.