You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_ftp-commits@incubator.apache.org by wr...@apache.org on 2006/12/14 20:00:10 UTC
svn commit: r487327 - /incubator/mod_ftp/trunk/conf/ftpd.conf
Author: wrowe
Date: Thu Dec 14 12:00:10 2006
New Revision: 487327
URL: http://svn.apache.org/viewvc?view=rev&rev=487327
Log:
Illustrate a useful config for accept filtering. 2.2 is 'current'
now, so prefer it.
Modified:
incubator/mod_ftp/trunk/conf/ftpd.conf
Modified: incubator/mod_ftp/trunk/conf/ftpd.conf
URL: http://svn.apache.org/viewvc/incubator/mod_ftp/trunk/conf/ftpd.conf?view=diff&rev=487327&r1=487326&r2=487327
==============================================================================
--- incubator/mod_ftp/trunk/conf/ftpd.conf (original)
+++ incubator/mod_ftp/trunk/conf/ftpd.conf Thu Dec 14 12:00:10 2006
@@ -15,7 +15,13 @@
</IfModule>
# Tell Apache which port it should listen to.
-Listen 8021
+Listen 8021 ftp
+AcceptFilter ftp none
+
+# On Apache 2.0, comment out the above, and uncomment the line below,
+# The Listen's protocol argument and AcceptFilter are new to Apache 2.2
+#
+# Listen 8021
# Uncomment these lines for SSL support. Also see
# directives in the VirtualHost context.
@@ -35,7 +41,7 @@
<VirtualHost _default_:8021>
# Setup the ServerAdmin and DocumentRoot
-ServerAdmin ftpmaster@localhost
+ServerAdmin admin@ftp.example.com
DocumentRoot "/"
# Tell Apache we want to serve FTP on this VirtualHost