haul        01/12/06 06:05:28

  Modified:    webapp   sitemap.xmap
               webapp/docs/samples samples.xml
  Log:
  Make referer example match http://*/cocoon instead of http://localhost:8080/cocoon
  Should work on more setups now.
  
  Revision  Changes    Path
  1.66      +2 -2      xml-cocoon2/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/sitemap.xmap,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- sitemap.xmap      2001/11/26 14:39:40     1.65
  +++ sitemap.xmap      2001/12/06 14:05:28     1.66
  @@ -910,10 +910,10 @@
      <!-- ========================== referer ================================= -->
   
     <map:match pattern="referer/*">
  -     <map:match type="referer-match" 
pattern="http://localhost:8080/cocoon/referer/a";>
  +     <map:match type="referer-match" pattern="http://*/cocoon/referer/a";>
           <map:redirect-to resource="simple-page" 
target="docs/samples/referer/a/{../1}"/>
        </map:match>
  -     <map:match type="referer-match" 
pattern="http://localhost:8080/cocoon/referer/b";>
  +     <map:match type="referer-match" pattern="http://*/cocoon/referer/b";>
           <map:redirect-to resource="simple-page" 
target="docs/samples/referer/b/{../1}"/>
        </map:match>
   
  
  
  
  1.18      +1 -1      xml-cocoon2/webapp/docs/samples/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/samples.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- samples.xml       2001/12/06 06:38:44     1.17
  +++ samples.xml       2001/12/06 14:05:28     1.18
  @@ -210,7 +210,7 @@
      <sample name="Sessionless State" href="referer/a">
       Whereas this example uses the request header referer
       attribute. The complete URL must be known to the sitemap, so this
  -    works only if you access Cocoon on http://localhost:8080/cocoon
  +    works only if you Cocoon's servlet context is /cocoon.
      </sample>
     </group>
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to