Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1179

Inbound Rewrite rules

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Won't Fix
    • Major
    • None
    • 1.0 RC3
    • Model
    • None
    • patch
    • Low
    • N/A
    • N/A
    • Awaiting Committer feedback

    Description

      I propose to write a Servlet Filter to support inbound rewrite rules defined in a wiki page.

      Example:

      rule1=^/xwiki/pages/(.)/(.)
      rule1-target=/bin/view/Main/$1?param1=$2

      would transform

      /xwiki/pages/page1/123

      into

      /xwiki/bin/view/Main/page1?param1=123

      Attachments

        1. rewrite2.patch
          29 kB
        2. rewrite.patch
          22 kB
        3. webxml.patch
          5 kB

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: