It’s a dead simple task to set up multiple application directories in Flash Media Server 2. I’ve been trying to figure out exactly how to do this for a while now (on and off) and the simplicity of it is astounding. I was under the false impression that this would require configuring a number of vhosts on the server- each pointing to a separate directory or partition housing many apps. This is thankfully not the case. All that needs to be done is to change the VHOST.APPSDIR entry in ‘fms.ini’ to a semicolon-separated list of directories/partitions/whatever. That is it. I’ve never seen mention of this in the documentation. Maybe I just missed it?
Some examples of this follow:
VHOST.APPSDIR = C:\appsdirectory1;C:\appsdirectory2
VHOST.APPSDIR = E:\;F:\
It’s stated in the “Managing Flash Media Server” documentation under the description of the vhost tag.
ExampleC:\MyApps;D:\NewApps
You can also specify multiple applications directories by separating locations with a semicolon
(;). You can specify two locations, each of which contains application subdirectories. If you
change the default location of the AppsDir tag, be sure to include a directory named admin in
each directory. This ensures that the management console (fmsconsole.swf) will be able to
connect to the virtual host.
If no location is specified for this tag, the applications directory is assumed to be located in the
vhost directory.
Hi Brad. Yes, the document you refer to is where I got the idea to try this. Unfortunately, this was (from my perspective) buried under a section about vhosts and not relating directly to ‘fms.ini’ itself.