
16
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
7
To log in to the Administration Console on the new adaptor, use the syntax
adaptorname
/
username
in the
Username box; for example, adaptor2/admin.
For information about logging in to the Administration Console, see “
Connecting to the Administration Console
”
on page 80.
Administrators are defined in the
UserList
section of the Users.xml file. Administrators are either server-level
users (similar to a root user) or virtual host-level users. If you log in to an adaptor other than the default adaptor,
you are considered a virtual host administrator and don’t have privileges to manage the server or users.
The conf directory with an additional adaptor called adaptor2
Add a virtual host
1
Create a folder with the name of the virtual host in an adaptor folder, for example,
rootinstall
/conf/_defaultRoot_/www.example.com.
2
Copy an Application.xml file, a Vhost.xml file, and a Users.xml file to the new virtual host folder. (The Users.xml
file is required only if you are defining administrators for this virtual host.)
3
In the Vhost.xml file, specify an application directory in the
AppsDir
element, for example:
<AppsDir>C:\www.example.com<\AppsDir>
Note:
It is possible to use the same applications directory for multiple virtual hosts, but it causes namespace conflicts
and is not recommended.
4
Validate the XML and save the Vhost.xml file.
5
Restart the server.
Note:
You can call the startVHost() Administration API or log in to the Administration Console without restarting
the server.
6
Log in to the Administration Console.
conf
Server.xml
_defaultRoot_
Adaptor.xml
_defaultVHost_
Application.xml
Logger.xml
Users.xml
fms.ini
Vhost.xml
Users.xml
_defaultVHost_
Application.xml
Vhost.xml
Users.xml
adaptor2
Adaptor.xml