Use the alternate modules provided by #515 as dependency for compact path rewrite of #467
This commit is contained in:
Greg Wilkins 2016-05-04 16:21:59 +10:00
parent a5d3f29f11
commit 70e8662bfd
3 changed files with 20 additions and 7 deletions

View File

@ -1,10 +1,17 @@
#
# Jetty Rewrite CompactPath module
#
[description]
Add a rule to the rewrite module to compact paths so that double slashes
in the path are treated as a single slash.
[depends]
rewrite
[xml]
etc/rewrite-compactpath.xml
[ini-template]
## Requires either rewrite or rewrite-customizer module
## with rewritePathInfo==true
jetty.rewrite.rewritePathInfo=true
jetty.rewrite.rewritePathInfo=true

View File

@ -1,9 +1,13 @@
#
# Jetty Rewrite Customizer module
#
# Apply rewrite rules as a request customizer applied to all
# connectors sharing a HttpConfiguration
#
[description]
Enables a rewrite Rules container as a request customizer on
the servers default HttpConfiguration instance
[provides]
rewrite
[depend]
server

View File

@ -1,8 +1,10 @@
[description]
Enables the jetty-rewrite handler. Specific rewrite
rules must be added to etc/jetty-rewrite.xml
# Install rewrite rules as a handler applied to all requests on a server
#
rules must be added to either to etc/jetty-rewrite.xml or a custom xml/module
[provides]
rewrite
[depend]
server