Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
61ee3d36
Commit
61ee3d36
authored
11 years ago
by
Sergey Lyubka
Browse files
Options
Downloads
Plain Diff
Merge pull request #324 from eichin/patch-1
doc typos
parents
998425b1
94dbf21f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/Options.md
+2
-2
2 additions, 2 deletions
docs/Options.md
with
2 additions
and
2 deletions
docs/Options.md
+
2
−
2
View file @
61ee3d36
...
...
@@ -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. Inste
a
d,
`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_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`
should be an URI to redirect to. Mongoose will issue
`302`
temporary redirect
to the specified URI, appending two parameters:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment