You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/12/15 04:14:35 UTC
svn commit: r604381 - /httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf
Author: wrowe
Date: Fri Dec 14 19:14:35 2007
New Revision: 604381
URL: http://svn.apache.org/viewvc?rev=604381&view=rev
Log:
New variable, @exp_ftpdocsdir@, which will certainly complicate
things in a httpd static build.
Modified:
httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf
Modified: httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf?rev=604381&r1=604380&r2=604381&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf (original)
+++ httpd/mod_ftp/trunk/docs/conf/extra/ftpd.conf Fri Dec 14 19:14:35 2007
@@ -28,8 +28,8 @@
<VirtualHost _default_:@@FTPPort@@>
# Setup the ServerAdmin and DocumentRoot
-ServerAdmin admin@ftp.example.com
-DocumentRoot "/path/to/ftpdocs"
+ServerAdmin you@ftp.example.com
+DocumentRoot "@exp_ftpdocsdir@"
# Tell Apache we want to serve FTP on this VirtualHost
FTP On
@@ -41,12 +41,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/ftpdocs>. See below for examples.
+# <Directory @exp_ftpdocsdir@>. See below for examples.
# File based authentication.
# Must use htpasswd to create the authentication file.
#
-#<Directory /path/to/ftpdocs>
+#<Directory @exp_ftpdocsdir@>
# AuthType basic
# AuthUserFile "/tmp/htpasswd.users"
# AuthName "FTP Authentication"
@@ -56,7 +56,7 @@
#
# Anonymous ftp access.
#
-#<Directory /path/to/ftpdocs>
+#<Directory @exp_ftpdocsdir@>
# AuthName "Use 'anonymous' and email address for guest entry"
# AuthType basic
#
@@ -77,7 +77,7 @@
#
# Deny all users from a protected directory.
#
-#<Directory /path/to/ftpdocs/protected>
+#<Directory @exp_ftpdocsdir@/protected>
# deny from all
#</Directory>
@@ -86,14 +86,14 @@
#########################################################################
#
# Only allow write access to /incoming
-# <Directory /path/to/ftpdocs>
+# <Directory @exp_ftpdocsdir@>
# <Limit MKD RMD STOR DELE RNFR>
# Order deny,allow
# Deny from all
# </Limit>
# </Directory>
#
-# <Directory /path/to/ftpdocs/incoming>
+# <Directory @exp_ftpdocsdir@/incoming>
# <LimitExcept MKD RMD STOR DELE RNFR>
# Order deny,allow
# Allow from all