
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
FTP Security
|
383
Besides the <VirtualHost> configuration block itself, whose syntax is fairly obvious
(you must specify the IP address or resolvable name of the virtual host), you’ve seen
all these directives in earlier examples. Even so, two things are worth pointing out.
First, the IP specified in the
<VirtualHost> tag can be the host’s primary address—i.e.,
the IP of the base server. However, if you do this, you must use the
Port directive to
specify a different port from the base server’s in the virtual host setup. A virtual server
can have the same IP address or the same listening port as the base server, but not both.
Second, absent from this configuration block but implicit nonetheless are the set-
tings for
ServerIdent, AllowRetrieveRestart, MaxClients, MaxClientsPerHost, Umask,
User,andGroup, defined earlier in the <Global> definitions in Example 11-5 (so are
the first eight directives listed in Example 11-4).
By the way, you may have noticed that I didn’t bother specifying
ServerName or
Masquerade Address. Since the global ServerIdent setting is off, these wouldn’t be dis-
played anyway.
Creating IP aliases in Linux is simple. The most direct method is to
use this form of ifconfig:
ifconfig ifacename:n alias
where ifacename is the name of the physical interface to which you
wish to ...