<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/urlrewrite</id>
  <title type="text">UrlRewrite Google Group</title>
  <subtitle type="text">
  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.
  </subtitle>
  <link href="/group/urlrewrite/feed/atom_v1_0_msgs.xml" rel="self" title="UrlRewrite feed"/>
  <updated>2009-11-06T17:34:24Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-06T17:34:24Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/b104f8cbd991989d?show_docid=b104f8cbd991989d</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/b104f8cbd991989d?show_docid=b104f8cbd991989d"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  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.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wim De Smet</name>
  <email>krom...@gmail.com</email>
  </author>
  <updated>2009-11-06T08:18:07Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/9871b461fc45c69b?show_docid=9871b461fc45c69b</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/9871b461fc45c69b?show_docid=9871b461fc45c69b"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-06T02:19:42Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/985fc3c9510feab7?show_docid=985fc3c9510feab7</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/985fc3c9510feab7?show_docid=985fc3c9510feab7"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  I&#39;ll try and put up a sample on the web today. &lt;br&gt; &lt;p&gt;Cheers &lt;br&gt; Avlesh
  </summary>
  </entry>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-06T02:17:36Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/c32b00b8c7390707?show_docid=c32b00b8c7390707</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/c32b00b8c7390707?show_docid=c32b00b8c7390707"/>
  <title type="text">Re: [?] get params to the url rewrite</title>
  <summary type="html" xml:space="preserve">
  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.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Roublard</name>
  <email>alexey.petu...@gmail.com</email>
  </author>
  <updated>2009-11-05T08:28:04Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/8c70b37f12efebc8?show_docid=8c70b37f12efebc8</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/965909fd5c72aeda/8c70b37f12efebc8?show_docid=8c70b37f12efebc8"/>
  <title type="text">[?] get params to the url rewrite</title>
  <summary type="html" xml:space="preserve">
  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?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wim De Smet</name>
  <email>krom...@gmail.com</email>
  </author>
  <updated>2009-11-05T14:21:56Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/87d8f669d8d6ee5f?show_docid=87d8f669d8d6ee5f</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/87d8f669d8d6ee5f?show_docid=87d8f669d8d6ee5f"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Colin</name>
  <email>colin...@gmail.com</email>
  </author>
  <updated>2009-11-05T14:20:10Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/aaab19bcf23835bb?show_docid=aaab19bcf23835bb</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/aaab19bcf23835bb?show_docid=aaab19bcf23835bb"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wim De Smet</name>
  <email>krom...@gmail.com</email>
  </author>
  <updated>2009-11-05T12:32:47Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/108478bf7e2ed181?show_docid=108478bf7e2ed181</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/108478bf7e2ed181?show_docid=108478bf7e2ed181"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-05T11:10:49Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/a61c3e4ab26837f5?show_docid=a61c3e4ab26837f5</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/a61c3e4ab26837f5?show_docid=a61c3e4ab26837f5"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wim De Smet</name>
  <email>krom...@gmail.com</email>
  </author>
  <updated>2009-11-05T10:49:29Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/46384c5403003243?show_docid=46384c5403003243</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/46384c5403003243?show_docid=46384c5403003243"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  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
  </summary>
  </entry>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-05T04:24:21Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/83b1c4656a16a8f8?show_docid=83b1c4656a16a8f8</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/83b1c4656a16a8f8?show_docid=83b1c4656a16a8f8"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  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;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wim De Smet</name>
  <email>krom...@gmail.com</email>
  </author>
  <updated>2009-11-04T09:03:46Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/ab4e93eef7e8a7c4?show_docid=ab4e93eef7e8a7c4</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/ab4e93eef7e8a7c4?show_docid=ab4e93eef7e8a7c4"/>
  <title type="text">Re: redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I think &amp;quot;redirect&amp;quot; could work, but I&#39;m not sure. Are you sure you&#39;re &lt;br&gt; using a version of the servlet API that supports 307? &lt;br&gt; Version 3.2 is plenty stable btw, I&#39;d recommend upgrading. &lt;br&gt; It should. But keep in mind that POST after POST has always been a bit &lt;br&gt; buggy and is only supposed to work on HTTP/1.1 clients. How about
  </summary>
  </entry>
  <entry>
  <author>
  <name>anu</name>
  <email>anu_g...@yahoo.com</email>
  </author>
  <updated>2009-11-03T23:25:35Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/2479a31d29a5b590/21e92c208802359a?show_docid=21e92c208802359a</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/2479a31d29a5b590/21e92c208802359a?show_docid=21e92c208802359a"/>
  <title type="text">When is UrlRewriteFilter 3.2 stable version releasing</title>
  <summary type="html" xml:space="preserve">
  I was wondering when/if we are going to get a stable version of the &lt;br&gt; 3.2 UrlRewriteFilter released? &lt;br&gt; We are looking to upgrade and were concerned that its not yet in the &lt;br&gt; maven central repository. &lt;br&gt; Thanks
  </summary>
  </entry>
  <entry>
  <author>
  <name>Colin</name>
  <email>colin...@gmail.com</email>
  </author>
  <updated>2009-11-03T00:04:59Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/0b6935144be29d83?show_docid=0b6935144be29d83</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/4e46916b786dbab0/0b6935144be29d83?show_docid=0b6935144be29d83"/>
  <title type="text">redirect with status code 307 (for POST)</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; &lt;p&gt;I&#39;m working on some REST style webservices and trying to use the &lt;br&gt; UrlRewrite tool to help map some old urls to the new ones. It seems &lt;br&gt; like the perfect tool for this. &lt;br&gt; &lt;p&gt;What I need to do is return a redirect status code when the client &lt;br&gt; POSTs data to certain URLs. I want the client to re-POST the data to
  </summary>
  </entry>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-03T10:03:57Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/359c9aa273ff2934/ab3c991b1e450591?show_docid=ab3c991b1e450591</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/359c9aa273ff2934/ab3c991b1e450591?show_docid=ab3c991b1e450591"/>
  <title type="text">Re: URL Redirect 301</title>
  <summary type="html" xml:space="preserve">
  It can&#39;t get simpler than this. I would recommend going through the manual &lt;br&gt; in future ( &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://urlrewritefilter.googlecode.com/svn/trunk/src/doc/manual/3.2/index.html&quot;&gt;[link]&lt;/a&gt;) &lt;br&gt; before asking questions on the mailing list. &lt;br&gt; The rule underneath in your urlrewrite.xml file should do the trick - &lt;br&gt; &amp;lt;rule&amp;gt; &lt;br&gt; &amp;lt;from&amp;gt;/product/test-
  </summary>
  </entry>
</feed>
