<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>UrlRewrite Google Group</title>
  <link>http://groups.google.com/group/urlrewrite</link>
  <description>Group for java url rewrite filter. Based on the popular and very useful mod_rewrite for apache, UrlRewriteFilter is a Java Web Filter for any J2EE compliant web application server, which allows you to rewrite URLs before they get to your code.</description>
  <language>en</language>
  <item>
  <title>Re: Only working on tomcat instance, not apache</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/b365c5ae46c50313/588317c663aa8d2f?show_docid=588317c663aa8d2f</link>
  <description>
  Are you sure only the UrlRewriteFilter is not working? &lt;br&gt; Is context path correctly set in your tomcat&#39;s server config? &lt;br&gt; Do you have rules, in your urlrewrite.xml, based on host name? &lt;br&gt; &lt;p&gt;Cheers &lt;br&gt; Avlesh
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/b365c5ae46c50313/588317c663aa8d2f?show_docid=588317c663aa8d2f</guid>
  <author>
  avl...@gmail.com
  (Avlesh Singh)
  </author>
  <pubDate>Mon, 09 Nov 2009 17:17:41 UT
</pubDate>
  </item>
  <item>
  <title>Re: get params to the url rewrite</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/4c283842035fb99e?show_docid=4c283842035fb99e</link>
  <description>
  Changing your rule to the underneath should work as expected - &lt;br&gt; &amp;lt;rule&amp;gt; &lt;br&gt; &amp;lt;from&amp;gt;^/test/(.*)\?(.*)$&amp;lt;/from &amp;gt; &lt;br&gt; &amp;lt;to&amp;gt;/test.do?id=$1&amp;amp;amp;$2&amp;lt;/to&amp;gt; &lt;br&gt; &amp;lt;/rule&amp;gt; &lt;br&gt; &lt;p&gt;To make this work, don&#39;t forget to add &amp;quot;use-query-string=true&amp;quot; in the root &lt;br&gt; node of your urlrewrite.xml file. &lt;br&gt; &lt;p&gt;Cheers &lt;br&gt; Avlesh
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/4c283842035fb99e?show_docid=4c283842035fb99e</guid>
  <author>
  avl...@gmail.com
  (Avlesh Singh)
  </author>
  <pubDate>Mon, 09 Nov 2009 17:09:21 UT
</pubDate>
  </item>
  <item>
  <title>Only working on tomcat instance, not apache</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/b365c5ae46c50313/a7e0c129d8aad08a?show_docid=a7e0c129d8aad08a</link>
  <description>
  I apologise if the solution to this is spectacularly simple. &lt;br&gt; &lt;p&gt;Setup: Apache2 &amp;gt; Mod_JK &amp;gt; Tomcat &lt;br&gt; &lt;p&gt;I&#39;m trying to use UrlRewriteFilter to prettify URLs. The rules are &lt;br&gt; working fine when accessing the webapp via localhost:8080/webapp/path &lt;br&gt; (ie. the tomcat instance) but not when accessing the same webapp via
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/b365c5ae46c50313/a7e0c129d8aad08a?show_docid=a7e0c129d8aad08a</guid>
  <author>
  spooforbra...@gmail.com
  (Wolf)
  </author>
  <pubDate>Mon, 09 Nov 2009 15:25:16 UT
</pubDate>
  </item>
  <item>
  <title>Re: get params to the url rewrite</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/c9f763109b64f792?show_docid=c9f763109b64f792</link>
  <description>
  Hi, &lt;br&gt; &lt;p&gt;I am new to URL re-writing. I have the same question. How can i pass &lt;br&gt; the query parameters to the actual URL &lt;br&gt; &lt;p&gt;e.g. Here is my rule &lt;br&gt; &lt;p&gt;&amp;lt;rule&amp;gt; &lt;br&gt; &amp;lt;from&amp;gt;^/([A-Za-z0-9]+)$&amp;lt;/from&amp;gt; &lt;br&gt; &amp;lt;to&amp;gt;/test.do?id=$1&amp;lt;/to&amp;gt; &lt;br&gt; &amp;lt;/rule&amp;gt; &lt;br&gt; &lt;p&gt;now when user provide the URL like : &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://localhost:8080/test/prodcut001?code=001&amp;name=test&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/c9f763109b64f792?show_docid=c9f763109b64f792</guid>
  <author>
  babybaby...@gmail.com
  (baby)
  </author>
  <pubDate>Mon, 09 Nov 2009 10:32:32 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/b104f8cbd991989d?show_docid=b104f8cbd991989d</link>
  <description>
  You are right, Wim. The behavior turned out to be contrary to my belief and &lt;br&gt; understanding of the 307 status code. I tested it myself to verify. The only &lt;br&gt; problem is that command line agents (wget, curl etc) still don&#39;t &amp;quot;re-submit&amp;quot; &lt;br&gt; the post data to new url. This led to the misconception, I initially had.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/b104f8cbd991989d?show_docid=b104f8cbd991989d</guid>
  <author>
  avl...@gmail.com
  (Avlesh Singh)
  </author>
  <pubDate>Fri, 06 Nov 2009 17:34:24 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/9871b461fc45c69b?show_docid=9871b461fc45c69b</link>
  <description>
  How about: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.andypemberton.com/sandbox/prg/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;I tried it with a 307. In firebug I&#39;m seeing 2 POSTs and the required &lt;br&gt; browser behaviour (confirmation before second POST). &lt;br&gt; &lt;p&gt;regards, &lt;br&gt; Wim
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/9871b461fc45c69b?show_docid=9871b461fc45c69b</guid>
  <author>
  krom...@gmail.com
  (Wim De Smet)
  </author>
  <pubDate>Fri, 06 Nov 2009 08:18:07 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/985fc3c9510feab7?show_docid=985fc3c9510feab7</link>
  <description>
  I&#39;ll try and put up a sample on the web today. &lt;br&gt; &lt;p&gt;Cheers &lt;br&gt; Avlesh
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/985fc3c9510feab7?show_docid=985fc3c9510feab7</guid>
  <author>
  avl...@gmail.com
  (Avlesh Singh)
  </author>
  <pubDate>Fri, 06 Nov 2009 02:19:42 UT
</pubDate>
  </item>
  <item>
  <title>Re: [?] get params to the url rewrite</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/c32b00b8c7390707?show_docid=c32b00b8c7390707</link>
  <description>
  Are you sure that you want it written that way? Use cases are generally the &lt;br&gt; reverse! &lt;br&gt; &lt;p&gt;Anways, &lt;br&gt; &lt;p&gt;if your answer is yes - &lt;br&gt; &amp;lt;from&amp;gt;/oc/TaskStart.do\?method =selectTaskMethod&amp;amp;amp;mid=(.*) &amp;lt;/from&amp;gt; &lt;br&gt; &amp;lt;to type=&amp;quot;permanent-redirect&amp;quot; last=&amp;quot;true&amp;quot;&amp;gt;/methods/oc/$1&amp;lt;/to &amp;gt; &lt;br&gt; Don&#39;t forget to turn on the &amp;quot;use-query-string&amp;quot; parameter in the root node.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/c32b00b8c7390707?show_docid=c32b00b8c7390707</guid>
  <author>
  avl...@gmail.com
  (Avlesh Singh)
  </author>
  <pubDate>Fri, 06 Nov 2009 02:17:36 UT
</pubDate>
  </item>
  <item>
  <title>[?] get params to the url rewrite</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/8c70b37f12efebc8?show_docid=8c70b37f12efebc8</link>
  <description>
  Guys, hi! &lt;br&gt; &lt;p&gt;Have a problem here, kinda novice in url rewriting. Need a rewriting &lt;br&gt; rule from &lt;br&gt; /oc/TaskStart.do?method=select TaskMethod&amp;amp;mid=910239095203464 76 &lt;br&gt; to &lt;br&gt; /methods/oc/91023909520346476 &lt;br&gt; &lt;p&gt;I&#39;ve tried a lot of reqexps but still have no luck to create it. Could &lt;br&gt; you please provide me an example?
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/8c70b37f12efebc8?show_docid=8c70b37f12efebc8</guid>
  <author>
  alexey.petu...@gmail.com
  (Roublard)
  </author>
  <pubDate>Thu, 05 Nov 2009 08:28:04 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/87d8f669d8d6ee5f?show_docid=87d8f669d8d6ee5f</link>
  <description>
  The &amp;lt;to type=&amp;quot;proxy&amp;quot;&amp;gt;. I have not used it myself before, but it looks &lt;br&gt; like it does what you want it to do. &lt;br&gt; regards, &lt;br&gt; Wim
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/87d8f669d8d6ee5f?show_docid=87d8f669d8d6ee5f</guid>
  <author>
  krom...@gmail.com
  (Wim De Smet)
  </author>
  <pubDate>Thu, 05 Nov 2009 14:21:56 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/aaab19bcf23835bb?show_docid=aaab19bcf23835bb</link>
  <description>
  Can you explain what you mean by &amp;quot;proxying the request&amp;quot;? &lt;br&gt; &lt;p&gt;thanks, &lt;br&gt; Colin
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/aaab19bcf23835bb?show_docid=aaab19bcf23835bb</guid>
  <author>
  colin...@gmail.com
  (Colin)
  </author>
  <pubDate>Thu, 05 Nov 2009 14:20:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/108478bf7e2ed181?show_docid=108478bf7e2ed181</link>
  <description>
  I reiterate, I do not think I am misreading it. The RFC specifically &lt;br&gt; allows for a 307 to result in a POST request, namely here: &lt;br&gt; &amp;quot;If the 307 status code is received in response to a request other &lt;br&gt; than GET or HEAD, the user agent MUST NOT automatically redirect the &lt;br&gt; request unless it can be confirmed by the user, since this might
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/108478bf7e2ed181?show_docid=108478bf7e2ed181</guid>
  <author>
  krom...@gmail.com
  (Wim De Smet)
  </author>
  <pubDate>Thu, 05 Nov 2009 12:32:47 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/a61c3e4ab26837f5?show_docid=a61c3e4ab26837f5</link>
  <description>
  You misread it Wim. I&#39;ll try to be visual and explain it - &lt;br&gt; &lt;p&gt;Request-1 (GET/POST/HEAD) -&amp;gt; Location: URL-2; Code: 307 -&amp;gt; Request-2 (ONLY &lt;br&gt; GET/HEAD) &lt;br&gt; If Request-1 is POST, then a redirect would also ask for a user confirmation &lt;br&gt; (this is how 307 differs from 302/303, wherein the requested resource is
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/a61c3e4ab26837f5?show_docid=a61c3e4ab26837f5</guid>
  <author>
  avl...@gmail.com
  (Avlesh Singh)
  </author>
  <pubDate>Thu, 05 Nov 2009 11:10:49 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/46384c5403003243?show_docid=46384c5403003243</link>
  <description>
  Hi, &lt;br&gt; Actually I think you&#39;re missing an important modifier here: &amp;quot;without &lt;br&gt; interaction with the user&amp;quot;. What the standard says is that redirect &lt;br&gt; works for any type, but in the case of a 307 POST the user client is &lt;br&gt; not allowed to redirect without asking for user confirmation. POST &lt;br&gt; after POST does indeed work AFAIK. It just doesn&#39;t work very well or
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/46384c5403003243?show_docid=46384c5403003243</guid>
  <author>
  krom...@gmail.com
  (Wim De Smet)
  </author>
  <pubDate>Thu, 05 Nov 2009 10:49:29 UT
</pubDate>
  </item>
  <item>
  <title>Re: redirect with status code 307 (for POST)</title>
  <link>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/83b1c4656a16a8f8?show_docid=83b1c4656a16a8f8</link>
  <description>
  There is a SLIGHT misunderstanding here. Status code 307 is NOT expected to &lt;br&gt; work as described in the thread. Underneath is a short snippet from W3 RFC &lt;br&gt; on status codes. This is what it says on the 3XX series - &lt;br&gt; &lt;p&gt;This class of status code (3XX) indicates that further action needs to be &lt;br&gt; For more read here - &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html&quot;&gt;[link]&lt;/a&gt;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/83b1c4656a16a8f8?show_docid=83b1c4656a16a8f8</guid>
  <author>
  avl...@gmail.com
  (Avlesh Singh)
  </author>
  <pubDate>Thu, 05 Nov 2009 04:24:21 UT
</pubDate>
  </item>
  </channel>
</rss>
