[weld-commits] Weld SVN: r6443 - examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Wed Jun 16 09:49:30 EDT 2010


Author: pete.muir at jboss.org
Date: 2010-06-16 09:49:30 -0400 (Wed, 16 Jun 2010)
New Revision: 6443

Modified:
   examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF/urlrewrite.xml
Log:
remove dtd (all seem broken), use 6 character hashcode

Modified: examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF/urlrewrite.xml
===================================================================
--- examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF/urlrewrite.xml	2010-06-16 13:43:01 UTC (rev 6442)
+++ examples/trunk/jsf/pastecode/src/main/webapp/WEB-INF/urlrewrite.xml	2010-06-16 13:49:30 UTC (rev 6443)
@@ -1,6 +1,4 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.0//EN"
-        "http://tuckey.org/res/dtds/urlrewrite3.0.dtd">
 
 <!--
 
@@ -13,7 +11,7 @@
    
    <!-- first construct nice address (ending with number, e.g. /0532106545) and show it in URL field-->  
    <rule>
-       <from>^/(\w{40})\.jsf$</from>
+       <from>^/(\w{6})\.jsf$</from>
        <to type="redirect" last="true">/weld-pastecode/$1</to>       
    </rule> 
    
@@ -24,7 +22,7 @@
    
    <!-- then forward to appropriate page without changing displayed URL -->
    <rule>
-       <from>^/(\w{40})$</from>
+       <from>^/(\w{6})$</from>
        <to type="forward" last="true">display.jsf?id=$1</to>
    </rule> 
    



More information about the weld-commits mailing list