Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
94dbf21f
Commit
94dbf21f
authored
Feb 11, 2014
by
Mark Eichin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc typos
just saw them while reading...
parent
998425b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Options.md
docs/Options.md
+2
-2
No files found.
docs/Options.md
View file @
94dbf21f
...
@@ -122,10 +122,10 @@ Comma-separated list of URL rewrites in the form of
...
@@ -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,
`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.
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
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. Inste
a
d,
`file_or_directory_path`
is used, which should be a full path name or
`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
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_patter
s
`
`uri_pattern`
, as all mongoose patterns, is a prefix pattern. If
`uri_patter
n
`
is a number, then it is treated as HTTP error code, and
`file_or_directory_path`
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
should be an URI to redirect to. Mongoose will issue
`302`
temporary redirect
to the specified URI, appending two parameters:
to the specified URI, appending two parameters:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment