|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4023 | feature | always | 04-30-10 12:40 | 05-19-10 17:13 | |
|
|
|||||
| Reporter: | stbu | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.6 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.7 | ||
|
|
|||||
| Summary: | 0004023: Rewrite: Tag for moved-permanently | ||||
| Description: |
From Resin-Interest (Subject was: Resin 4.0 documentation reference.xtp = 500 Servlet Exception) > Also, with 3.1 it was possible to distinguish the HTTP Code for > redirects. For Search-Engine-Optimization a 301 (Moved Permanently) is > in particular cases better than 302 (Found). In 3.1 there is > <moved-permanently> http://caucho.com/resin-3.1/doc/rewrite-tags.xtp#moved-permanently [^] > to achieve this but I have not found equivalent configuration tag in > 4.0 documentation, there is only > http://caucho.com/resin-4.0/admin/reference.xtp#resin:Redirect [^] You can use the <resin:SendError code="302"/> for any of the codes. We can add a special case for moved-permanently; it's pretty easy to add new tags. -- Scott |
||||
| Steps To Reproduce: | |||||
| Additional Information: | Using just <resin:SendError code="302"/> is not working the same way as 3.1 rewrite tag <moved-permanently> | ||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||