Is UrlRewrite Supported?

109 views
Skip to first unread message

zappulle

unread,
Oct 25, 2016, 5:22:44 AM10/25/16
to UrlRewrite
 I am wondering if this product is supported?  I seen many unanswered questions both here and on Stack Overflow. 

Specifically, I'd like to translate something like /Logon to /Logon.jsp.  I've tried many rules and have come this one except it goes recursive on me.  So I thin a negative rule is needed to prevent the translated URL from being translated again, i.e. if the url ends in JSP don't fire the rule.

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE urlrewrite
    PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN"
    "http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd">
   
<urlrewrite>
    <rule match-type="wildcard" enabled="true">
        <condition type="request-url" operator="notequal">*.jsp</condition>
        <from>/*</from>
        <to type="forward">%{request-uri}.jsp?%{query-string}</to>
    </rule>
</urlrewrite>


Reply all
Reply to author
Forward
0 new messages