Morning all.
<br>
<br>I have a very simple request to clean up
<br>
<br>I basically need to catch URI's that end with "/" and if they do, append
index.htm to them. The upstream proxy doesn't like to see "/".
<br>
<br>so a request:
<br>
<br> <a class="moz-txt-link-freetext" href="http://xyz/">http://xyz/</a>
<br>
<br>would be rewritten to:
<br>
<br> <a class="moz-txt-link-freetext" href="http://xyz/index.htm">http://xyz/index.htm</a>
<br>
<br>and so on ...
<br>
<br> <a class="moz-txt-link-freetext" href="http://xyz/mytest/">http://xyz/mytest/</a> -> <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! Only if it has a / at the end.
<div><br></div><div>I want to proxy_pass these to the backend. 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">-- <br></span><a class="moz-txt-link-freetext" href="http://alan.blog-city.com/">http://alan.blog-city.com/</a>
</div></div>