From 735db52a483888d10a1ffb23a1f278ce5519c6f4 Mon Sep 17 00:00:00 2001
From: Christophe Jaillet
Date: Sat, 18 Aug 2018 07:44:17 +0000
Subject: [PATCH] - Add some links. - Remove the space in "character set" in
the syntax of ProxyFtpDirCharset to avoid confusion (it is 1 parameter only)
- Use the correct syntax for the "default" values, so that they are parsed
and correctly displayed in 'quickreference' - Remove extra [] when
directive's parameter are required
- correct the default password: apache-proxy@ instead of apache_proxy@.
This was silently changed in r88745, 17 years ago!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1838313 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_proxy_ftp.xml | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/docs/manual/mod/mod_proxy_ftp.xml b/docs/manual/mod/mod_proxy_ftp.xml
index a2a56107bf..476b91abe3 100644
--- a/docs/manual/mod/mod_proxy_ftp.xml
+++ b/docs/manual/mod/mod_proxy_ftp.xml
@@ -52,12 +52,13 @@
download via FTP?
You probably don't have that particular file type defined as
application/octet-stream
in your proxy's mime.types
- configuration file. A useful line can be
+ configuration file. A useful line can be:
application/octet-stream bin dms lha lzh exe class tgz taz
- Alternatively you may prefer to default everything to binary:
+ Alternatively you may prefer to use the ForceType
+ directive to default everything to binary:
ForceType application/octet-stream
@@ -66,7 +67,7 @@ ForceType application/octet-stream
How can I force an FTP ASCII download of
- File xxx?
+ file xxx?
In the rare situation where you must download a specific file using the
FTP ASCII
transfer method (while the default transfer is in
binary
mode), you can override mod_proxy's
@@ -76,7 +77,7 @@ ForceType application/octet-stream
How can I do FTP upload?
- Currently, only GET is supported for FTP in mod_proxy. You can
+
Currently, only GET is supported for FTP in mod_proxy. You can
of course use HTTP upload (POST or PUT) through an Apache proxy.
@@ -108,7 +109,7 @@ ForceType application/octet-stream
user: anonymous
- password: apache_proxy@
+ password: apache-proxy@
This works for all popular FTP servers which are configured for
@@ -153,15 +154,15 @@ ForceType application/octet-stream
a directory, or contains wildcard characters ("*?[{~"), then it
guesses that a listing is wanted instead of a download.
You can disable the special handling of names with wildcard characters.
- See the ProxyFtpListOnWildcard directive.
+ See the ProxyFtpListOnWildcard directive.
ProxyFtpListOnWildcard
Whether wildcards in requested filenames trigger a file listing
-ProxyFtpListOnWildcard [on|off]
-on
+ProxyFtpListOnWildcard on|off
+ProxyFtpListOnWildcard on
server configvirtual host
directory
Available in Apache 2.3.3 and later
@@ -171,7 +172,8 @@ ForceType application/octet-stream
controls whether wildcard characters ("*?[{~") in requested
filenames cause mod_proxy_ftp to return a listing
of files instead of downloading a file. By default (value on),
- they do. Set to "off" to allow downloading files even if they
+ they do.
+ Set to "off" to allow downloading files even if they
have wildcard characters in their names.
@@ -179,8 +181,8 @@ ForceType application/octet-stream
ProxyFtpEscapeWildcards
Whether wildcards in requested filenames are escaped when sent to the FTP server
-ProxyFtpEscapeWildcards [on|off]
-on
+ProxyFtpEscapeWildcards on|off
+ProxyFtpEscapeWildcards on
server configvirtual host
directory
Available in Apache 2.3.3 and later
@@ -191,7 +193,7 @@ ForceType application/octet-stream
filenames are escaped with backslash before sending them to the
FTP server. That is the default behavior, but many FTP servers
don't know about the escaping and try to serve the literal filenames
- they were sent, including the backslashes in the names.
+ they were sent, including the backslashes in the names.
Set to "off" to allow downloading files with wildcards
in their names from FTP servers that don't understand wildcard
escaping.
@@ -201,7 +203,7 @@ ForceType application/octet-stream
ProxyFtpDirCharset
Define the character set for proxied FTP listings
-ProxyFtpDirCharset character set
+ProxyFtpDirCharset character_set
ProxyFtpDirCharset ISO-8859-1
server configvirtual host
directory
--
2.50.1