
Chapter 340
The following set of Server.xml tags has been customized for real-world use. Two server
administrators are defined,
root and jsmith. An administrator named panderson is defined for
two virtual hosts, _defaultVHost_ and mysite.com. The <Allow> and <Deny> tags are set for all
four administrators to allow them to connect only from the IP address 12.34.56.78. The server
domain is set to www.macromedia.com.
<Root>
<Admin>
<Server>
<UserList>
<User name="root">
<Password encrypt="true">WTs5Ka9</Password>
<Allow>12.34.56.78</Allow>
<Deny>all</Deny>
<Order>Allow,Deny</Order>
</User>
<User name= "jsmith">
<Password encrypt="true">4flYnH1</Password>
<Allow>12.34.56.78</Allow>
<Deny>all</Deny>
<Order>Allow,Deny</Order>
</User>
</UserList>
</Server>
<Adaptor name="_defaultRoot_">
<VirtualHost name="_defaultVHost_">
<UserList>
<User name="panderson">
<Password encrypt="true">jhdAYT2E7</Password>
<Allow>12.34.56.78</Allow>
<Deny>all</Deny>
<Order>Allow,Deny</Order>
</User>
</UserList>
</VirtualHost>
<VirtualHost name="mysite.com">
<UserList>
<User name="panderson">
<Password encrypt="true">jhdAYT2E7</Password>
<Allow>12.34.56.78</Allow>
<Deny>all</Deny>
<Order>Allow,Deny</Order>
</User>
</UserList>
</VirtualHost>
</Adaptor>
</Admin>
<Server>
<Process>
<UID></UID>
<GID></GID>
</Process>
<Mask>017</Mask>
<LicenseInfo>FSW100-12345-67890-54321</LicenseInfo>
<AdminServer>
<HostPort>:1111</HostPort>
<SocketGC>60</SocketGC>
<Process>
<UID></UID>
<GID></GID>
</Process>
Commenti su questo manuale