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:05:05 UTC
svn commit: r487330 - /incubator/mod_ftp/trunk/conf/ftpd.conf
Author: wrowe
Date: Thu Dec 14 12:05:04 2006
New Revision: 487330
URL: http://svn.apache.org/viewvc?view=rev&rev=487330
Log:
That DocumentRoot path was moronic :) Illustrate using the
/path/to/ftpdocs (similar to /path/to/htdocs)
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=487330&r1=487329&r2=487330
==============================================================================
--- incubator/mod_ftp/trunk/conf/ftpd.conf (original)
+++ incubator/mod_ftp/trunk/conf/ftpd.conf Thu Dec 14 12:05:04 2006
@@ -42,7 +42,7 @@
# Setup the ServerAdmin and DocumentRoot
ServerAdmin admin@ftp.example.com
-DocumentRoot "/"
+DocumentRoot "/path/to/ftpdocs"
# Tell Apache we want to serve FTP on this VirtualHost
FTP On
@@ -54,12 +54,12 @@
# For the purposes of logging in, authentication is check within Apache
# on the root of the file system. This means that if you want to restrict
# logins to the FTP server, you will need to configure Authentication for
-# <Directory /path/to/documentroot>. See below for examples.
+# <Directory /path/to/ftpdocs>. See below for examples.
# File based authentication.
# Must use htpasswd to create the authentication file.
#
-#<Directory /path/to/documentroot>
+#<Directory /path/to/ftpdocs>
# AuthType basic
# AuthUserFile "/tmp/htpasswd.users"
# AuthName "FTP Authentication"
@@ -69,7 +69,7 @@
#
# Anonymous ftp access.
#
-#<Directory /path/to/documentroot>
+#<Directory /path/to/ftpdocs>
# AuthName "Use 'anonymous' and email address for guest entry"
# AuthType basic
#
@@ -90,7 +90,7 @@
#
# Deny all users from a protected directory.
#
-#<Directory /path/to/documentroot/protected>
+#<Directory /path/to/ftpdocs/protected>
# deny from all
#</Directory>
@@ -99,14 +99,14 @@
#########################################################################
#
# Only allow write access to /incoming
-# <Directory /path/to/documentroot>
+# <Directory /path/to/ftpdocs>
# <Limit MKD RMD STOR DELE RNFR>
# Order deny,allow
# Deny from all
# </Limit>
# </Directory>
#
-# <Directory /path/to/documentroot/incoming>
+# <Directory /path/to/ftpdocs/incoming>
# <LimitExcept MKD RMD STOR DELE RNFR>
# Order deny,allow
# Allow from all