
Chapter 338
• The <Deny> tag inside the <VirtualHost> tag works the same way as the <Deny> tag inside
the earlier
<Server> tag, but applies only to the <User> tag that contains it.
• The <Order> tag inside the <VirtualHost> tag works the same way as the <Order> tag inside
the earlier
<Server> tag, but applies only to the <User> tag that contains it.
• The <Server> tag contains the <Process> tag, the <Mask> tag, the <LicenseInfo> tag, the
<AdminServer> tag, and the <ResourceLimits> tag. This <Server> tag is distinct from the
<Server> tag found under the <Admin> tag earlier in the file.
• <Process> contains the next two tags, <UID> and <GID>. These tags are applicable for Flash
Communication Server systems running on UNIX systems only. At installation, you specify
which user (the default is the “nobody” user) server processes should run as. This user is also
the owner of the Flash Communication Server files. To make server processes run as a different
user than what you specified at installation, you can use the
<UID> and <GID> tags. Note that if
<UID> and <GID> are empty, the server runs as root.
• <UID> contains the process user ID (valid for UNIX systems only). The default value is 99 for
the “nobody” user. If this or the
<GID> tag are empty, the server runs as root.
• <GID> contains the process group ID (valid for UNIX systems only). The default value is 99
for the “nobody” group. If this or the
<UID> tag are empty, the server runs as root.
• <Mask> contains a three-digit octal value used by the umask (user permissions mask) command
to set a file creation mask. It controls who has read/write access to shared object and stream
files in the server. This tag is applicable for UNIX systems only. The default mask value is 017;
the server attempts to create files with a permissions setting of 666 and applies 666 to the 017
mask, resulting in a permissions setting of 0660. Acceptable values for each digit are from 0 to
7; if an invalid value is given, the default mask is applied.
The default value indicates that the owner of the server files and all the users belonging to the
same group as the owner will have read/write access to shared object and stream files. (The
owner is the root user or the user as which the server processes run, as specified during
installation or in the
<UID> tag.)
Note: Regardless of the value of <Mask>, the server will never create files with execute permissions. Also, be
careful if you change the first digit of
<Mask>, which controls permissions for the owner: if the first digit is set to
anything other than 0 or 1, the owner is denied read/write access, and the server itself will not be able to access
the files it creates. All users will be denied the ability to record streams, keep persistent shared objects, or access
FLV files or other features related to shared objects. For more information on umask usage, consult a standard
UNIX reference manual.
• <LicenseInfo> contains the serial number for the server. The value of this tag is written to the
Server.xml file by the server installer during installation.
• <AdminServer> is a container for the <HostPort> tag, the <SocketGC> tag, and the
<Process> tag.
• <HostPort> specifies the port that the Admin service binds to. The Admin service is separate
from the Flash Communication Server service. When administrators connect to the server
with the Administration Console, they are connecting to the Flash Communication Admin
service, which in turn connects to the Flash Communication Server. The default value is
:1111
(note the colon). Only one port number may be specified in this tag.
• <SocketGC> specifies how often, in seconds, to check for and remove inactive sockets on the
Admin service.
Komentarze do niniejszej Instrukcji