MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 164

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 163
164 Configuration Files
Vhost.xml file
The Vhost.xml configuration file defines an individual virtual host in Flash Media Server.
Each virtual host directory on the server contains its own Vhost.xml file.
The Vhost.xml file contains tags that define the settings for the virtual host. These settings
include aliases for the virtual host, the location of the virtual hosts application directory,
limits on the resources the virtual host can use, and other parameters.
Each virtual host must have its own directory inside the adaptor directory. The name of the
directory must be the actual name of the virtual host, such as streaming.macromedia.com.
Each defined virtual host must be mapped to a DNS [Domain Name Server] entry or another
name resolution such as a WINS address or a hosts file, that specifies an IP address on the
server computer.
Each adaptor must contain a _defaultVHost_ directory in addition to the custom virtual
hosts that you define. If a client application tries to connect to a virtual host that does not
exist, the server attempts to connect it to _defaultVHost_. If you are using a secure port for
the adaptor that contains the virtual host, you can only define one virtual host to the adaptor,
in addition to _defaultVHost_.
The Vhost.xml file contains the following tag structure.
<VirtualHost>
<AliasList>
<Alias name="acme">acme.myDomain.com</Alias>
</AliasList>
<AppsDir></AppsDir>
<ResourceLimits>
<MaxConnections></MaxConnections>
<MaxAppInstances></MaxAppInstances>
<MaxStreams>-1</MaxStreams>
<MaxSharedObjects>-1</MaxSharedObjects>
<AppInstanceGC>20</AppInstanceGC>
<MessageCache>
<MaxCacheUnits>4096</MaxCacheUnits>
<MaxCacheSize>100</MaxCacheSize>
<MaxUnitSize>16</MaxUnitSize>
<FreeRatio>0.125</FreeRatio>
<GlobalRatio>0.4</GlobalRatio>
<MaxAge>1000000</MaxAge>
<UpdateInterval>1024</UpdateInterval>
<FreeMemRatio>0.5</FreeMemRatio>
</MessageCache>
<SmallMemPool>
<MaxCacheUnits>4096</MaxCacheUnits>
<MaxCacheSize>100</MaxCacheSize>
<MaxUnitSize>16</MaxUnitSize>
<FreeRatio>0.125</FreeRatio>
Vedere la pagina 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 239 240

Commenti su questo manuale

Nessun commento