title: IIS: Removing Trailing Dots from URL
body: <p>I want to remove trailing dots such as <code>...</code> from all urls on IIS. I tried to use the following rule:</p>
  
  <pre><code>&lt;rule name="RemoveTrailingDots" stopProcessing="true"&gt;
    &lt;match url="^([^.]*)\.+$" /&gt;
    &lt;action type="Redirect" redirectType="Permanent" url="{R:1}" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>This works as expected on my local PC but not on my website.</p>
  
  <p>For example I expected <code>/fruits/apple...</code> to be redirected to <code>/fruits/apple</code> but no redirect happens.</p>
  
  <p>Thanks</p>