Virtual FTP Server
Updated September 12, 2002
Created May 22, 2001


Autogenerated Site Map
Search this Site!:
Search this site powered by FreeFind

How to do Virtual ftp
  1. Make a new directory for your virtual ftp
  2. mkdir /var/ftp/virtual/ftp.mybox.mydomain.com
  3. Copy over and set permissions on etc lib bin
  4. (cd /var/ftp && tar -cf - lib bin etc ) | (cd /var/ftp/virtual && tar -xvpf - )
  5. Add your virtual host to /etc/ftpaccess
  6.     # Virtual Server at 10.10.10.10
        virtual 10.10.10.10 root    /var/ftp/virtual/ftp.mybox.mydomain.com
        virtual 10.10.10.10 banner  /var/ftp/virtual/ftp.mybox.mydomain.com/banner.msg
        virtual 10.10.10.10 logfile /var/log/ftp/virtual/ftp.mybox.mydomain.com/xferlog
    
  7. You may want to restart ftpd if it is running
  8. ps ax | grep ftpd | grep -v grep
    1234 ftpd....
    kill -s HUP 1234
    
  9. If you are using a browser to view the ftp site the be sure to press the "reload" button in your browser
References:

/usr/share/doc/wu-ftpd-2.6.1/HOWTO/VIRTUAL.FTP.SUPPORT

Search this Site!:
Search this site powered by FreeFind

Homepage: http://www.cpqlinux.com
Site Map: http://www.cpqlinux.com/sitemap.html