<?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-23T10:36:34Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Daniel</name>
  <email>dan...@timespace.com.au</email>
  </author>
  <updated>2009-11-23T10:36:34Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/bf3a39deab3f25b8?show_docid=bf3a39deab3f25b8</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/bf3a39deab3f25b8?show_docid=bf3a39deab3f25b8"/>
  <title type="text">Re: Can someone help with a simple rule?</title>
  <summary type="html" xml:space="preserve">
  I just had to add a slash at the beginning so it looks like: &lt;br&gt; &lt;p&gt;&amp;lt;from&amp;gt;^/(.+).htm$&amp;lt;/from&amp;gt; &lt;br&gt; &lt;p&gt;And then it worked so it was very close. I don&#39;t why this fixed it - &lt;br&gt; just similar to what was there before - as I don&#39;t really know what &lt;br&gt; I&#39;m doing with this stuff, anyway all good now. &lt;br&gt; &lt;p&gt;Thanks again for your help on this,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-23T05:33:53Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/1a96c4a24cd70b05/9d9cd3e2182b2405?show_docid=9d9cd3e2182b2405</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/1a96c4a24cd70b05/9d9cd3e2182b2405?show_docid=9d9cd3e2182b2405"/>
  <title type="text">Re: Redirection from www.example.org ,www.example.net and www.exammple.com to www.example.com</title>
  <summary type="html" xml:space="preserve">
  Quick answer - &lt;br&gt; &lt;p&gt;Detailed guide - &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;Cheers &lt;br&gt; Avlesh &lt;br&gt; &lt;p&gt;On Mon, Nov 23, 2009 at 10:58 AM, mahesh &amp;lt;hariprasad.kanamarlap...@gmai l.com
  </summary>
  </entry>
  <entry>
  <author>
  <name>mahesh</name>
  <email>hariprasad.kanamarlap...@gmail.com</email>
  </author>
  <updated>2009-11-23T05:28:51Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/1a96c4a24cd70b05/aebb493ec5dbbb37?show_docid=aebb493ec5dbbb37</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/1a96c4a24cd70b05/aebb493ec5dbbb37?show_docid=aebb493ec5dbbb37"/>
  <title type="text">Re: Redirection from www.example.org ,www.example.net and www.exammple.com to www.example.com</title>
  <summary type="html" xml:space="preserve">
  Hi All, &lt;br&gt; &lt;p&gt;Can you please respond to the above one. &lt;br&gt; &lt;p&gt;Regards, &lt;br&gt; Mahesh. &lt;br&gt; &lt;p&gt;On Nov 20, 11:54 am, mahesh &amp;lt;hariprasad.kanamarlap...@gmai l.com&amp;gt; &lt;br&gt; wrote:
  </summary>
  </entry>
  <entry>
  <author>
  <email>codesite-nore...@google.com</email>
  </author>
  <updated>2009-11-22T15:30:02Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/a582361484b6d66a/8bf92e23665111e0?show_docid=8bf92e23665111e0</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/a582361484b6d66a/8bf92e23665111e0?show_docid=8bf92e23665111e0"/>
  <title type="text">Issue 56 in urlrewritefilter: Documentation: Regex Replacements in &lt;set&gt;</title>
  <summary type="html" xml:space="preserve">
  Status: New &lt;br&gt; Owner: ---- &lt;br&gt; Labels: Type-Defect Priority-Medium &lt;br&gt; New issue 56 by horst.gutmann: Documentation: Regex Replacements in &amp;lt;set&amp;gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/urlrewritefilter/issues/detail?id=56&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; IMO it is worth mentioning that it is possible to use regex replacements &lt;br&gt; not only in &amp;lt;to&amp;gt; but also in &amp;lt;set&amp;gt;. I&#39;ve attached a small patch for the 2.6
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wim De Smet</name>
  <email>krom...@gmail.com</email>
  </author>
  <updated>2009-11-22T15:07:33Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/095cad1ec18dbecf?show_docid=095cad1ec18dbecf</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/095cad1ec18dbecf?show_docid=095cad1ec18dbecf"/>
  <title type="text">Re: Can someone help with a simple rule?</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; How about: &lt;br&gt; &amp;lt;from&amp;gt;^(.*/[^./]*)$&amp;lt;/from&amp;gt; &lt;br&gt; This will match: &lt;br&gt; - anything ending in a slash (.*/) &lt;br&gt; - anything ending in a slash with a trailing section that doesn&#39;t &lt;br&gt; contain dots or slashes [^./] &lt;br&gt; - will unfortunately also redirect if you have something like &lt;br&gt; /blah/dot.gif/ because of the trailing slash &lt;br&gt; I&#39;m not entirely sure whether it&#39;s correct on sunday afternoon but it
  </summary>
  </entry>
  <entry>
  <author>
  <name>Daniel</name>
  <email>dan...@timespace.com.au</email>
  </author>
  <updated>2009-11-22T04:40:05Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/740dcfef2c63832c?show_docid=740dcfef2c63832c</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/740dcfef2c63832c?show_docid=740dcfef2c63832c"/>
  <title type="text">Re: Can someone help with a simple rule?</title>
  <summary type="html" xml:space="preserve">
  Thanks for your help. &lt;br&gt; &lt;p&gt;I actually want to check if the last part contains a dot which would &lt;br&gt; make it a file and then not redirect. &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.mysite.com/something/more/whatever/&quot;&gt;[link]&lt;/a&gt; (should redirect) &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.mysite.com/something/more/whatever&quot;&gt;[link]&lt;/a&gt; (should redirect) &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.mysite.com/something/more/whatever.gif&quot;&gt;[link]&lt;/a&gt; (should NOT
  </summary>
  </entry>
  <entry>
  <author>
  <email>kayak.bl...@gmail.com</email>
  </author>
  <updated>2009-11-21T21:33:16Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/abeb18ee1dee2b78?show_docid=abeb18ee1dee2b78</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/abeb18ee1dee2b78?show_docid=abeb18ee1dee2b78"/>
  <title type="text">Re: Can someone help with a simple rule?</title>
  <summary type="html" xml:space="preserve">
  If I understand what you want it seems like: &lt;br&gt; &lt;p&gt;&amp;lt;rule&amp;gt; &lt;br&gt; &amp;lt;from&amp;gt;^/(.+/more)/?$&amp;lt;/from&amp;gt; &lt;br&gt; &amp;lt;to&amp;gt;/index.cfm?/$1&amp;lt;/to&amp;gt; &lt;br&gt; &amp;lt;/rule&amp;gt; &lt;br&gt; &lt;p&gt;This assumes that &amp;quot;more&amp;quot; should be at the end. Your original rule accepted anything including &amp;quot;more&amp;quot;. If you need to accept anything where &amp;quot;more&amp;quot; appears in the above &amp;lt;from&amp;gt; then change the &amp;quot;more&amp;quot; to ([^.]+)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Daniel</name>
  <email>dan...@timespace.com.au</email>
  </author>
  <updated>2009-11-21T06:55:52Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/f3391bd390d2c267?show_docid=f3391bd390d2c267</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/19a885b042fa6e49/f3391bd390d2c267?show_docid=f3391bd390d2c267"/>
  <title type="text">Can someone help with a simple rule?</title>
  <summary type="html" xml:space="preserve">
  I currently have this rule on my site which works great: &lt;br&gt; &lt;p&gt;&amp;lt;rule&amp;gt; &lt;br&gt; &amp;lt;from&amp;gt;^/(.+)/$&amp;lt;/from&amp;gt; &lt;br&gt; &amp;lt;to&amp;gt;/index.cfm?/$1&amp;lt;/to&amp;gt; &lt;br&gt; &amp;lt;/rule&amp;gt; &lt;br&gt; &lt;p&gt;So if someone writes in a URL such as: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.mysite.com/something/more/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;It will redirect to &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.mysite.com/index.cfm?something/more/&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;Which is all good.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-21T03:46:38Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/993b19f77328df06/350d1b0789b5ea8a?show_docid=350d1b0789b5ea8a</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/993b19f77328df06/350d1b0789b5ea8a?show_docid=350d1b0789b5ea8a"/>
  <title type="text">Re: &lt;to&gt; element : help for &quot;forward&quot; type attribute</title>
  <summary type="html" xml:space="preserve">
  In most use cases, users &amp;quot;forward&amp;quot; or &amp;quot;redirect&amp;quot; to a re-written URL. With &lt;br&gt; the former, the original request is &amp;quot;forwarded&amp;quot; using java&#39;s request &lt;br&gt; dispatcher which means that the re-writing is hidden from the client. &lt;br&gt; Basically, the URL which was originally requested remains the way it is in &lt;br&gt; browsers&#39; address bar. However, with the latter (type=redirect), the
  </summary>
  </entry>
  <entry>
  <author>
  <name>Horst Gutmann</name>
  <email>ho...@zerokspot.com</email>
  </author>
  <updated>2009-11-20T21:51:18Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/04837b723a3d9f50/155c41718828d078?show_docid=155c41718828d078</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/04837b723a3d9f50/155c41718828d078?show_docid=155c41718828d078"/>
  <title type="text">Re: &lt;set&gt;-value from &lt;from&gt; match?</title>
  <summary type="html" xml:space="preserve">
  No sorry, I will perhaps get to it Saturday night. But it seems like &lt;br&gt; you can use $1 etc. within &amp;lt;set&amp;gt;&#39;s value as you would within &amp;lt;to&amp;gt; (at &lt;br&gt; least in 2.6) &lt;br&gt; &lt;p&gt;Von meinem iPhone gesendet &lt;br&gt; &lt;p&gt;Am 20.11.2009 um 09:03 schrieb &amp;quot;Razvan C.&amp;quot; &amp;lt;corneavraz...@yahoo.com&amp;gt;:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Razvan C.</name>
  <email>corneavraz...@yahoo.com</email>
  </author>
  <updated>2009-11-20T08:12:13Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/993b19f77328df06/a8a25e945c5352fc?show_docid=a8a25e945c5352fc</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/993b19f77328df06/a8a25e945c5352fc?show_docid=a8a25e945c5352fc"/>
  <title type="text">&lt;to&gt; element : help for &quot;forward&quot; type attribute</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; &lt;p&gt;Can anyone explain this phrase from the manual doc regarding the type &lt;br&gt; attribute for the &amp;lt;to&amp;gt; element where I want to use &amp;quot;forwad&amp;quot; ? &lt;br&gt; &lt;p&gt;&amp;quot;Note: In this case the &amp;quot;to&amp;quot; URL must be in the same context as &lt;br&gt; UrlRewriteFilter.&amp;quot; &lt;br&gt; &lt;p&gt;Maybe an example please. &lt;br&gt; &lt;p&gt;I am using it but even if i get the correct generated url in &amp;lt;to&amp;gt; i am
  </summary>
  </entry>
  <entry>
  <author>
  <name>Razvan C.</name>
  <email>corneavraz...@yahoo.com</email>
  </author>
  <updated>2009-11-20T08:03:39Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/04837b723a3d9f50/79c27696d3c9ce9d?show_docid=79c27696d3c9ce9d</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/04837b723a3d9f50/79c27696d3c9ce9d?show_docid=79c27696d3c9ce9d"/>
  <title type="text">Re: &lt;set&gt;-value from &lt;from&gt; match?</title>
  <summary type="html" xml:space="preserve">
  Hi &lt;br&gt; &lt;p&gt;Is the patch ready please ? It could help me a lot &lt;br&gt; &lt;p&gt;Thank you
  </summary>
  </entry>
  <entry>
  <author>
  <name>mahesh</name>
  <email>hariprasad.kanamarlap...@gmail.com</email>
  </author>
  <updated>2009-11-20T06:54:35Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/1a96c4a24cd70b05/3ef38b5ff4263ee0?show_docid=3ef38b5ff4263ee0</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/1a96c4a24cd70b05/3ef38b5ff4263ee0?show_docid=3ef38b5ff4263ee0"/>
  <title type="text">Redirection from www.example.org ,www.example.net and www.exammple.com to www.example.com</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; &lt;p&gt;I want redirection from &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.org&quot;&gt;[link]&lt;/a&gt; ,&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.net&quot;&gt;[link]&lt;/a&gt; and &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.exammple.com&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; to &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.com&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.org&quot;&gt;[link]&lt;/a&gt; ---&amp;gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.com&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.net&quot;&gt;[link]&lt;/a&gt;	---&amp;gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.com&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.exammple.com&quot;&gt;[link]&lt;/a&gt;	---&amp;gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.example.com&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;we tried to to write the rules in the urlrewrite.xml but it didn&#39;t &lt;br&gt; work because this we need to implement in the HTTP server(web server)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Avlesh Singh</name>
  <email>avl...@gmail.com</email>
  </author>
  <updated>2009-11-20T02:16:22Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/067f546631bcb26a/6eff71f8564b690a?show_docid=6eff71f8564b690a</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/067f546631bcb26a/6eff71f8564b690a?show_docid=6eff71f8564b690a"/>
  <title type="text">Re: An example of UrlRewrite</title>
  <summary type="html" xml:space="preserve">
  This parameter has nothing to do with regular rewriting. It is an optional &lt;br&gt; parameter to configure a status servlet in your application which gives the &lt;br&gt; more info on the rules configured in your webapp when you hit the URL - &lt;br&gt; /rewrite-status &lt;br&gt; &lt;p&gt;Looking at your filter chain the statement &amp;quot;Always the RequestControlFilter
  </summary>
  </entry>
  <entry>
  <author>
  <name>shashikant</name>
  <email>nshashik...@gmail.com</email>
  </author>
  <updated>2009-11-19T21:51:09Z</updated>
  <id>http://groups.google.com/group/urlrewrite/browse_thread/thread/067f546631bcb26a/2fcd4c2097a563cd?show_docid=2fcd4c2097a563cd</id>
  <link href="http://groups.google.com/group/urlrewrite/browse_thread/thread/067f546631bcb26a/2fcd4c2097a563cd?show_docid=2fcd4c2097a563cd"/>
  <title type="text">Re: An example of UrlRewrite</title>
  <summary type="html" xml:space="preserve">
  Upon debugging by adding the UrlRewrite source code i find the &lt;br&gt; following : &lt;br&gt; &lt;p&gt;statusEnabledOnHosts is null. PLease let me know what this parameter &lt;br&gt; sets and how does it impact the application. &lt;br&gt; &lt;p&gt;Thanks
  </summary>
  </entry>
</feed>
