From 733c6c691fd82589e741c60ae79c14e1bd57ab9d Mon Sep 17 00:00:00 2001
From: Christophe Jaillet
Date: Sat, 18 Aug 2018 07:56:02 +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!
(r1838313 in trunk + some style to synch 2.4.x and trunk)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1838314 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_proxy_ftp.xml | 32 +++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/docs/manual/mod/mod_proxy_ftp.xml b/docs/manual/mod/mod_proxy_ftp.xml
index b8cdd53ad4..11d26b452e 100644
--- a/docs/manual/mod/mod_proxy_ftp.xml
+++ b/docs/manual/mod/mod_proxy_ftp.xml
@@ -52,19 +52,22 @@
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
+
+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
@@ -74,7 +77,7 @@
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.
@@ -106,7 +109,7 @@
user: anonymous
- password: apache_proxy@
+ password: apache-proxy@
This works for all popular FTP servers which are configured for
@@ -151,15 +154,15 @@
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
@@ -169,7 +172,8 @@
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.
@@ -177,8 +181,8 @@
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
@@ -189,7 +193,7 @@
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.
@@ -199,7 +203,7 @@
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