mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-26 20:38:25 +00:00
Better description for -w option
This commit is contained in:
1 parent
fa22388529
commit
498f3715a5
1 file changed
+3
-2
+3
-2
@@ -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.
|
call handle_doc.cgi script for .doc and .rtf file requests. If some pattern
|
||||||
Default: ""
|
matches, no further matching/substitution is performed
|
||||||
|
(first matching pattern wins). Default: ""
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Sh EMBEDDING
|
.Sh EMBEDDING
|
||||||
|
|||||||
Reference in new issue
Block a user