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

ページ / 238
Basic server settings
13
To edit the <AppsDir> tag in the Vhost.xml file:
1.
Locate the Vhost.xml file for the virtual host you are working with. 
2.
Open the file in a text editor.
3.
Replace the path inside the 
AppsDir
 tag with the path of your choice, such as C:\Server 
Files\applications. Do not use quotation marks. To specify multiple directories, delimit 
each directory path with a semicolon.
4.
Save the Vhost.xml file.
You must restart the server in order for this change to take effect.
Once you have specified the directory where you’ll store your application directories, you 
must create a directory inside it for each client application you plan to use with that virtual 
host. Each client application must have a directory with the same name that the client 
application uses when connecting to the server. Once you have created a subdirectory for each 
of your applications, you can decide whether to give any of the applications their own 
Application.xml file. By including an Application.xml file in a client application’s directory, 
you can give that application different settings from those defined in the virtual host’s 
Application.xml file, which serve as the default settings for applications on the virtual host. 
For more information about the Application.xml file, see 
Configuring virtual hosts
With some editions of the server, you can add virtual hosts to the server’s configuration. This 
is useful for separating sets of applications and allows you to define administrators who have 
access only to a specific virtual host. It is also useful if you are an Internet Service Provider 
who is hosting websites using Flash Media Server.
Each virtual host on the server is associated with an adaptor. 
To create a new virtual host, create a new virtual host directory inside the /conf/adaptor_name 
directory in the Flash Media Server directory, for the adaptor you want to use for the new 
virtual host: /conf/adaptor_name/virtual_host_name. This directory must include the 
following configuration files:
Vhost.xml 
Application.xml 
Users.xml
Logger.xml
You also need to add the new virtual host to the Server.xml file and add administrative users 
for that virtual host.