Morning all.
<br>
<br>I have a very simple request to clean up
<br>
<br>I basically need to catch URI&#39;s that end with &quot;/&quot; and if they do, append 
index.htm to them.&nbsp;&nbsp; The upstream proxy doesn&#39;t like to see &quot;/&quot;.
<br>
<br>so a request:
<br>
<br>&nbsp;<a class="moz-txt-link-freetext" href="http://xyz/">http://xyz/</a>
<br>
<br>would be rewritten to:
<br>
<br>&nbsp;<a class="moz-txt-link-freetext" href="http://xyz/index.htm">http://xyz/index.htm</a>
<br>
<br>and so on ...
<br>
<br>&nbsp;<a class="moz-txt-link-freetext" href="http://xyz/mytest/">http://xyz/mytest/</a> -&gt; <a class="moz-txt-link-freetext" href="http://xyz/mytest/index.htm">http://xyz/mytest/index.htm</a>
<br>
<br>BUT <a class="moz-txt-link-freetext" href="http://xyz/mytest">http://xyz/mytest</a> is to be untouched!&nbsp; Only if it has a / at the end.
<div><br></div><div>I want to proxy_pass these to the backend. &nbsp;I am struggling to get this right, so any pointers/help would be appreciated<br>
<br>thanks
<br>
<br>
<br><div class="moz-txt-sig"><span class="moz-txt-tag">--&nbsp;<br></span><a class="moz-txt-link-freetext" href="http://alan.blog-city.com/">http://alan.blog-city.com/</a>
</div></div>