| 1 |
# |
| 2 |
# Proftpd sample configuration for Virtual Hosts and Virtual Roots. |
| 3 |
# |
| 4 |
# Note that FTP protocol requires IP based virtual host, not name based. |
| 5 |
# |
| 6 |
|
| 7 |
# |
| 8 |
# A generic sample virtual host. |
| 9 |
# |
| 10 |
#<VirtualHost ftp.server.com> |
| 11 |
#ServerAdmin [email protected] |
| 12 |
#ServerName "Big FTP Archive" |
| 13 |
#TransferLog /var/log/proftpd/xfer/ftp.server.com |
| 14 |
#MaxLoginAttempts 3 |
| 15 |
#RequireValidShell no |
| 16 |
#DefaultRoot /srv/ftp_root |
| 17 |
#AllowOverwrite yes |
| 18 |
#</VirtualHost> |
| 19 |
|
| 20 |
# |
| 21 |
# The vroot module is not required, but can be useful for shared |
| 22 |
# directories. |
| 23 |
# |
| 24 |
<IfModule mod_vroot.c> |
| 25 |
#VRootEngine on |
| 26 |
|
| 27 |
#DefaultRoot ~ |
| 28 |
#VRootAlias upload /var/ftp/upload |
| 29 |
# |
| 30 |
#<VirtualHost a.b.c.d> |
| 31 |
#VRootEngine on |
| 32 |
#VRootServerRoot /etc/ftpd/a.b.c.d/ |
| 33 |
#VRootOptions allowSymlinks |
| 34 |
#DefaultRoot ~ |
| 35 |
#</VirtualHost> |
| 36 |
# |
| 37 |
</IfModule> |
| 38 |
|