title: IIS rewrite rule not working
body: <p>I would like to rewrite this:
  domain.com/gallery/123123/name-of-the-image/</p>
  
  <p>To display content from here: domain.com/gallery/showImage/name-of-the-image-123123</p>
  
  <p>Here's my current code:</p>
  
  <pre><code>&lt;rule name="Gallery - Single image"&gt;
      &lt;match url="^gallery/([0-9])/([a-z-/]+)/?$" /&gt;
      &lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&gt;
      &lt;action type="Rewrite" url="gallery/showImage/{R:2}-{R:1}" /&gt;
  &lt;/rule&gt;
  </code></pre>
  
  <p>How should I alter the rewrite code to make it work?</p>
  
  <p>Big thanks in advance</p>