
Chapter 346
The following set of Vhost.xml tags has been customized for real-world use. The alias acme is
defined for the virtual host. The application directory is set to C:\Inetpub\wwwroot\apps\. The
maximum number of simultaneous connections is set to 50. The virtual directory for streams is
set to \streamTemp. The domain suffix is set to macromedia.com for reverse DNS lookups.
Finally, the virtual host will accept connections from any IP address.
<VirtualHost>
<AliasList>
<Alias name="acme">acme.myDomain.com</Alias>
</AliasList>
<AppsDir>C:\Program Files\Macromedia\Flash Communication Server
MX\applications\</AppsDir>
<RecordAccessLog>true</RecordAccessLog>
<ResourceLimits>
<MaxConnections>50</MaxConnections>
<MaxAppInstances>-1</MaxAppInstances>
<MaxStreams>-1</MaxStreams>
<MaxSharedObjects>-1</MaxSharedObjects>
<AppInstanceGC>20</AppInstanceGC>
</ResourceLimits>
<VirtualDirectory>
<Streams>streamTemp;C:\sharedstreams</Streams>
</VirtualDirectory>
<DNSSuffix>macromedia.com</DNSSuffix>
<Allow>all</Allow>
</VirtualHost>
The Application.xml file
The Application.xml file contains the settings for applications that will run on the server. These
settings include, for example, the size of the Server-Side Communication ActionScript runtime
engine, the location at which streams and shared objects are stored, and bandwidth limitations.
Each virtual host can contain multiple Application.xml files. The Application.xml file in the
virtual host directory configures the default settings for applications within the virtual host. If you
want to have different settings for a particular application, create a specific Application.xml file in
the application’s registered application directory (for example, ../applications/app_name) with the
settings you want.
Each tag in the virtual host’s Application.xml file can include an optional
override parameter, as
in this example:
<LoadOnStartup override="no">false</LoadOnStartup>
When this parameter is included in a tag and set to no, no application-specific Application.xml
files can override that tag’s setting. If the tag contains subtags, they also cannot be overridden.
When you omit the
override parameter, the tag can be overridden. Only the <Client> tag
described in the following text includes an
override="no" parameter by default.
Kommentare zu diesen Handbüchern