|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5418 | minor | always | 04-12-13 08:39 | 11-05-14 15:44 | |
|
|
|||||
| Reporter: | cowan | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.35 | ||
| Product Build: | Resolution: | unable to reproduce | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.42 | ||
|
|
|||||
| Summary: | 0005418: URL Rewrite Rules Lost After Webapp Deploy | ||||
| Description: |
It seems like the URL rewrite rules defined at the cluster level (and I believe at other levels too) are not preserved after a deploy or undeploy operation. For example, starting with a stock installation of Resin Pro 4.0.35, and two versions of a simple web app war file (containing a single index.html file for its web content that does nothing more than display some text in the body), performing the following will demonstrate the issue: - edit resin.properties, enabling webapp_multiversion_routing. - edit resin.xml and add a rewrite rule directly underneath the 'app' cluster: e.g.: <cluster id="app"> ... <resin:NotFound regexp="^"><resin:IfSecure value="false"/></resin:NotFound> - start resin - deploy and test version 1 of a simple web app. The rewrite rule should work as expected, forcing a 404. - deploy and test version 2 of your web app (without restarting resin). The rewrite rule no longer takes effect. You will see your page. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | Rep by D. Ziegelbein | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||