Virtual FTP directories

Virtual FTP directories

Post by Kerry Co » Sun, 31 Dec 1899 09:00:00



Any simple way of setting up a virtual FTP directory?  I'm suing Red Hat
6.1 and have a virtual domain running on the system (example =
www.testdomain.com) as well as my regular domain (example =
quasi.realdomain.com).  I would like it so that users can log into
ftp://ftp.testdomain.com rather than seeing
ftp://quasi.realdomain.com/pub.... etc.
I'm using wu-ftpd-2.6.0-1.
Thanks.
KJ

--
.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
| Kerry J. Cox         KSL                              |

| (801) 575-7771       http://www.ksl.com               |
| ICQ# 37681165        http://quasi.ksl.com/linux/      |
`-------------------------------------------------------'

 
 
 

1. Virtual FTP directories

Okay, I just installed wu_ftpd on a Solaris 2.6 machine.  True it's
Solaris,
but I think the same philosphy applies to Linux.  Anyway, it runs great
and I am able to ftp into the machine no problem.  What I want to do now

is set up virtual ftp directories so that my virtual domains, i.e.
www.bintzsupply.com can do a ftp://ftp.bintzsupply.com/ and ftp stuff
right out of their directories.  I did the research and added the
following lines to my /etc/ftpaccess file and it appeared to work just
fine, but then no one else was able to ftp into that server.
    Here are the lines I added:


# a couple of test things...
# passwd-check  <none|trivial|rfc822>  [<enforce|warn>]
passwd-check    rfc822  warn

# path-filter...
path-filter  anonymous  /etc/pathmsg  ^[-A-Za-z0-9_\.]*$  ^\.  ^-

#
# This file is read by inetd when it invokes ftpd/wu-ftpd
#
#
# 06-Jan-97 amo Add the Virtual Domain definitions
#
#
------------------------------------------------------------------------------

--------------
#
# NOTE: It seems that ftp.Virtual_Domain.com only works if it has a
Unique IP as
signed to it
#
# NOTE: the home directory is now  ~ftp/Domain_Name/pub  instead of
~ftp/pub
#
#
------------------------------------------------------------------------------

--------------
#
# This is the RealMachine
#
#virtual 206.71.77.7 root       /export/home/ftp/
#virtual 206.71.77.7 banner     /export/home/ftp/       # welcome.msg
#virtual 206.71.77.7 logfile    /var/adm/xferlog
#
# Add bintzsupply.com
#
#virtual 209.186.76.10 root     /export/home/ftp/virtual/bintzsupply.com

#virtual 209.186.76.10 banner   /export/home/ftp/virtual/bintzsupply.com

# welcome.msg
#virtual 209.186.76.10 logfile  /var/adm/xferlog
#
# Add Virt_3.org
#
#virtual 198.147.196.zz root    /home/ftp/Virt_3.org
#virtual 198.147.196.zz banner  /home/ftp/Virt_3.org/welcome.Virt_3
# welcom
e.msg
#virtual 198.147.196.zz logfile /var/log/xferlog
#
# end of virtual FTP servers

If anyone has had any experience with this or could enlighten me as to
what I did wrong, I would be much appreciative.  Thanks.  Please also
send me the response via email as I get very busy sometimes and don't
have time to check the newsgroups.
KJ

--
.-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-.
| Kerry J. Cox          Vyzynz International Inc.       |

| (801) 596-7795        http://www.vii.com              |
| ICQ# 37681165         http://quasi.vii.com/linux/     |
`-------------------------------------------------------'

2. RedHat 4.1 installation using a Sony CDU31A CD-ROM

3. xterm or rxvt setup on redhat 8

4. how to prevent ftp users (virtual hosts) from going up one directory/escaping their own directory)

5. is a /kernel filesystem feasable?

6. ftp virtual directories

7. Character capture routine?

8. How to create virtual directory in wu-ftp server?

9. question about FTP virtual directories

10. Allowing a virtual server user FTP access to an html directory only

11. virtual ftp and root directory

12. Ftp virtual directory to linux share