0 Replies Latest reply on Dec 20, 2011 7:18 AM by Ajay Tiwari

    My URL rewrite engine is not working

    Ajay Tiwari Newbie

      Hi All

       

       

      I am using jboss AS7. I am trying to write a rewrite url for my application, But it is not working.

       

       

      I made changes in my standalone.xml file under <virtual-server> tag

            <rewrite pattern="^/HelloWorld/resources/([0-9]+)$/(.*)$" substitution="/HelloWorld/resources/$1" flags="F"/>

       

       

      but when i hardcode any value in place of ([0-9]+)$ it works.

       

       

      So why my pattern is not working.

       

       

      Please Help me out in this.