Comments (1)
sorry my full config is
<urlrewrite use-query-string="true">
<!-- Redirect -->
<rule enabled="true">
<from>^/user_information.jsp\?username=([a-z0-9A-Z]+)&id_card=([a-z0-9A-Z]+)&t=([a-z0-9A-Z]+)&flag=([a-z0-9A-Z-_]+)&type=([a-z0-9A-Z]+)&host=([^/]*)&ses=([a-z0-9A-Z]+)$</from>
<to type="redirect" last="true">/4766684466771A2586CC11CF423005DF_$1_$2_$3_$4_$5_$6_$7</to>
</rule>
<rule enabled="true">
<from>^/4766684466771A2586CC11CF423005DF_([a-z0-9A-Z]+)_([a-z0-9A-Z]+)_([a-z0-9A-Z]+)_([a-z0-9A-Z-_]+)_([a-z0-9A-Z]+)_([^_]*)_([a-z0-9A-Z]+)$</from>
<to last="true">/user_information.jsp?username=$1&id_card=$2&t=$3&flag=$4&type=$5&host=$6&ses=$7</to>
</rule>
</urlrewrite>
Original comment by [email protected]
on 5 Nov 2014 at 3:51
from urlrewritefilter.
Related Issues (20)
- RewriteRule is includes parameters, when it should not
- Relative URI in to-clause leads to currupt Location field, when type="permanent-redirect" or type="temporary-redirect"
- Loading config from servlet 3 web-fragment classpath fails HOT 3
- last="true" not behaving as expected
- redirect url is not absolute
- add default last attribute
- add sendError support
- add custom condition method
- OutBound rules are not working in Struts Application
- condition type="request-filename" is not documented
- .js Library Files are not Loading post the ugrade of the application HOT 1
- Invalid Type Accepted
- missing values for attribute type in the last Document Type Definition
- Migrate to github
- Separate Urlrewrite file for multiple project in tomcat.
- Java compatibility
- isfilewithsize never worked! HOT 2
- Redirect URL is incorrectly formatted - contexpath inserted in the middle of the uri
- add parameters if they are missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urlrewritefilter.