diff --git a/docs/Options.md b/docs/Options.md index 55dacd0beae282dc6d072d26f3c0d56184141d9e..e21fc4d90f24f67a45b62ba2e9625311b6f45fb4 100644 --- a/docs/Options.md +++ b/docs/Options.md @@ -122,10 +122,10 @@ Comma-separated list of URL rewrites in the form of `uri_pattern=file_or_directory_path`. When Mongoose receives the request, it constructs the file name to show by combining `document_root` and the URI. However, if the rewrite option is used and `uri_pattern` matches the -requested URI, then `document_root` is ignored. Insted, +requested URI, then `document_root` is ignored. Instead, `file_or_directory_path` is used, which should be a full path name or a path relative to the web server's current working directory. Note that -`uri_pattern`, as all mongoose patterns, is a prefix pattern. If `uri_patters` +`uri_pattern`, as all mongoose patterns, is a prefix pattern. If `uri_pattern` is a number, then it is treated as HTTP error code, and `file_or_directory_path` should be an URI to redirect to. Mongoose will issue `302` temporary redirect to the specified URI, appending two parameters: