Anonymous | Login | Signup for a new account | 12-17-2024 11:44 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003096 | [Resin] | minor | always | 11-24-08 14:30 | 03-18-09 15:52 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | urgent | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 3.2.1 | ||||
Product Build | |||||||||
Summary | 0003096: dynamic rewrite-dispatch | ||||||||
Description |
(rep by Leonid Geller) Protocol://hostname:port/x/y.html [^] Always forwards to Protocol://hostname:port/y.html [^] Unless x matches a specified regex. Where x and y.html are not known until runtime, and both could be empty. It is easy to do the above if x is known in advance, e.g. <forward regexp="^/x" target="/" /> But I cannot figure out how to do this dynamically, so, except for a short list of ?folders? (really servlet mappings), all requests redirect to the root app. Example 1: http://hostname.com:88/somefolder [^] and http://hostname.com:88/somefolder/index.html [^] should load http://hostname.com:88/index.html [^] Example 2: http://hostname.com:88/foo.html [^] and http://hostname.com:88/somefolder/foo.html [^] should load the same page: http://hostname.com:88/foo.html [^] Example 3: http://hostname.com:88/special/foo.html [^] should go to /special/foo.html because ?/special? is in the exceptions regex. |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |