Making Apache an FTP server

By williebens ·
Hello There:

I am working on getting the apache web server to provide ftp services (ftp server) so that authenticated users can upload and download files to the ftp server. I have the following apache configuration (a snippet of the whole httpd.conf file):

LoadModule ftpd_module modules/
LoadModule ftpd_default_module modules/
NameVirtualHost ServerIP_address
Listen 21
<VirtualHost *:21>
FtpProtocol On
FtpAllowActive Off
ServerName or ServerIP
DocumentRoot /var/www/html/ftpdocs
<Directory /var/www/html/ftpdocs>
# AuthName "FTP Server"
# AuthType Basic
# AuthUserFile /etc/httpd/conf/passwd/.htpasswd
# Require valid-user
Order allow,deny
# Allow from all
Allow from myLocal_PC_IPaddress

My hosts file on my linux box is:

# Do not remove the following line, or various programs
# that require network functionality will fail. localhost.localdomain localhost

192.168.x.x ftp.192.168.1.x.x

I wonder if this configuration does the job. I do not know if I also need to use an ftp server like proFTP together with Apache. However, I believe that since apache has the mod_ftp module, it should be able to provide ftp services by itself. If anyone out there can help me get this through, I will be more
than graceful.

I am using Apache/2.0.59 (CentOS) Server

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums