/actions/src/main/webapp/WEB-INF/urlrewrite.xml

http://alageospatialportal.googlecode.com/ · XML · 33 lines · 24 code · 2 blank · 7 comment · 0 complexity · dad92379ae003291a71cfbaff5baf714 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Document : urlrewrite.xml
  4. Created on : 12 February 2010, 8:52 PM
  5. Author : ajayr
  6. Description:
  7. url rewrite
  8. -->
  9. <!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.0//EN" "http://tuckey.org/res/dtds/urlrewrite3.0.dtd">
  10. <urlrewrite default-match-type="wildcard">
  11. <rule>
  12. <from>/images/**</from>
  13. <to>/images/$1</to>
  14. </rule>
  15. <rule>
  16. <from>/scripts/**</from>
  17. <to>/scripts/$1</to>
  18. </rule>
  19. <rule>
  20. <from>/styles/**</from>
  21. <to>/styles/$1</to>
  22. </rule>
  23. <rule>
  24. <from>/**</from>
  25. <to>/app/$1</to>
  26. </rule>
  27. <outbound-rule>
  28. <from>/app/**</from>
  29. <to>/$1</to>
  30. </outbound-rule>
  31. </urlrewrite>