Question

Locked

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/mod_ftpd.so
LoadModule ftpd_default_module modules/mod_ftpd_default.so
.
.
.
NameVirtualHost ServerIP_address
Listen 21
<VirtualHost *:21>
#FTP On
FtpProtocol On
FtpAllowActive Off
ServerName ftp.domain_name.com 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
</Directory>
</VirtualHost>

My hosts file on my linux box is:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 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
Thanks.
--Willie

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums