October 2001
Beginner
1024 pages
25h 8m
English
If you have multiple IP addresses bound to your machine, you can map different FTP server behaviors to each one. This virtual hosting mechanism is controlled with the /etc/ftphosts file, which does not exist in the default FreeBSD system (you need to create it).
Each virtual host is defined on its own line, with fields specifying alternate config files for each host separated by whitespace. Table 27.2 describes the various fields, their meanings, and the default values (the ones that the server uses without an /etc/ftphosts file present).
| Field | Description | Default |
|---|---|---|
| Hostname | The hostname or IP address of the virtual host. Note that FTP has no equivalent of the Host: header ... |
Read now
Unlock full access