What FTP server for Apache virtual host server?

1,285 pts.
Tags:
Apache
FTP
FTP Server
Ubuntu
Virtual Hosting
I am working on putting together a web server using Apache 2.2.14 on Ubuntu Server 10.04 64 bit. I plan on having 10+ virtual host on the server. I would like for there to be ftp access to each virtual host, but I’m not sure what the best way to do that is. These appear to be my options:[Br style="padding: 0px; margin: 0px;" />1. mod_ftp for apache looks like it will work, but it doesn’t seem to be very popular.[Br style="padding: 0px; margin: 0px;" />2. Separate ftp server running on the same system

My question is what is the typical way to setup ftp access for each virtual host on a medium to large scale Apache web server?



Software/Hardware used:
ubuntu server 10.04, apache
ASKED: June 4, 2011  1:14 PM
UPDATED: June 7, 2011  9:24 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

You could use pureftp and its virtual host configuration as outlined below.

http://download.pureftpd.org/pub/pure-ftpd/doc/README.Virtual-Users

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Ingram87
    That's what I setup. It looks like using a separate ftp server with virtual users is the standard way to set this up.
    1,285 pointsBadges:
    report
  • petkoa
    If I understood right - you are not planning to run virtual machines with a separate httpd on each on them, you are planning to run a virtual host configuration on a single httpd? The first case is not interesting, you install an ftp-server on each VM. In the second case, you keep your virtual hosts in a separate directory under the httpd tree. So, why don't you assign this separate directory as a home of the admin user(s) of the virtual host and use vsftp (it should be available for Ubuntu). Vsftp allows for chroot-style jailing of the ftp users in their home directories, as I'm recalling without a need for replicating essential libs, progs and configs in each user's home.
    3,120 pointsBadges:
    report
  • Ingram87
    No virtual machines, just one physical server running ubuntu and apache with virtual hosts. It looks like there are three major ftp servers: 1. pure-ftpd 2. proftpd 3. vsftpd I chose to setup pure-ftpd, and set it up exactly as you described. I just wasn't sure if using one of those ftp servers was the typical way to setup ftp access to virtual host on an apache web server or not. Like I said, there is a mod_ftp module for apache that looks like it has the same essential features as these 3 ftp servers. I didn't know if most people used that module instead. It looks like almost nobody uses the mod_ftp module though.
    1,285 pointsBadges:
    report
  • petkoa
    I have no idea about mod_ftp security/isolation features, but as any mod_... it is loaded at apache startup and stays there consuming whatever resources it needs - while a separate ftp daemon is started usually on demand via (x)inetd and then releases the resources. And admin users, I believe, will not use it that often...
    3,120 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following