Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URL rewrite in JBoss 7

 
Greg Charles
Sheriff
Posts: 2984
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having trouble porting our single rewrite rule from JBoss 4.2.3 to 7.0.2. The documentation page I found at http://docs.jboss.org/jbossweb/7.0.x/rewrite.html talks of server.xml and the rewrite valve, so it appears to have been cut-and-pasted from an older version of JBoss and isn't relevant. The only other piece of information I can find is in the issue tracker at https://issues.jboss.org/browse/AS7-1762, which says there are problems with URL rewriting, but doesn't seem to suggest that it doesn't work at all. Here's sample from that page:



That looks like a new way of doing rewriting, but I can't find it documented anywhere. If anyone could help out with a link, I'd really appreciate it. Thanks!

 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See "rewrite" section in the JBoss Web documentation here http://docs.jboss.org/jbossweb/7.0.x/config/host.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic