Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1762

rewrite rule doesnt function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Beta1
    • 7.0.1.Final
    • Web
    • None

    Description

      I have tried to add the following configuration to the standalone.xml <virtual-server> node:

      <virtual-server name="default-host">
      <alias name="localhost"/>
      <alias name="example.com"/>
      <rewrite pattern="^/helloworld(.*)" substitution="/helloworld/test.jsp"/>
      </virtual-server>

      and I have deployed the helloworld.war, however the rewrite does not work (I know I can deploy war at the root context I just want to test the rewrite).

      Attachments

        Activity

          People

            rmaucher Remy Maucherat
            jefimm_jira jefimm (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: