PlanetJava
Custom Search

java-stripes-user
[Top] [All Lists]

Re: clean urls without /action/*

Subject: Re: clean urls without /action/*
Date: Thu, 07 Feb 2008 00:27:43 +0000
there was a typo (surprise) in the first <to> rule. it probably would
make sense to name it something obvious as it will not be rendered in
the page.
<rule>
    <name>catch stripes clean urls</name>
    <condition type="request-uri" name="nodots">!^.+\..+$</condition>
    <from>.*</from>
    <to>/cleanurl$1</to>  
    <outbound-rule>
      <from>^/cleanurl.*</from>
      <to>$1</to>
   </outbound-rule>
</rule>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy