Browse Source

Better description for -w option

Sergey Lyubka 13 năm trước cách đây
mục cha
commit
498f3715a5
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      mongoose.1

+ 3 - 2
mongoose.1

@@ -140,8 +140,9 @@ Comma-separated list of URL rewrites in the form of
 of the requested URL, then matched prefix gets substituted with "substitution".
 of the requested URL, then matched prefix gets substituted with "substitution".
 For example, "-w /config=/etc,**.doc|**.rtf=/cgi-bin/handle_doc.cgi"
 For example, "-w /config=/etc,**.doc|**.rtf=/cgi-bin/handle_doc.cgi"
 will serve all URLs that start with "/config" from the "/etc" directory, and
 will serve all URLs that start with "/config" from the "/etc" directory, and
-call handle_doc.cgi script for .doc and .rtf file requests.
-Default: ""
+call handle_doc.cgi script for .doc and .rtf file requests. If some pattern
+matches, no further matching/substitution is performed
+(first matching pattern wins). Default: ""
 .El
 .El
 .Pp
 .Pp
 .Sh EMBEDDING
 .Sh EMBEDDING