This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes URL rewrite in JBoss 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "URL rewrite in JBoss 7" Watch "URL rewrite in JBoss 7" New topic
Author

URL rewrite in JBoss 7

Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2833
    
  11

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

Joined: Jul 20, 2005
Posts: 9912
    
158

See "rewrite" section in the JBoss Web documentation here http://docs.jboss.org/jbossweb/7.0.x/config/host.html

[My Blog] [JavaRanch Journal]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: URL rewrite in JBoss 7
 
Similar Threads
How can I turn off URL-Rewriting of tomcat ? Thank you!
Deploy web apps on different ports
SAXException while parsing web.xml file in jboss 5.0 during deployment
Virtual Hosting in Jboss Error
Virtual host configuration