<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">YEP thank you :<div><blockquote type="cite"><span style="font-family: Georgia, serif; text-align: justify; background-color: rgb(255, 255, 255);">The matching is performed against a normalized URI, after decoding the text encoded in the “</span><code style="text-align: justify; background-color: rgb(255, 255, 255);">%XX</code><span style="font-family: Georgia, serif; text-align: justify; background-color: rgb(255, 255, 255);">” form, resolving references to relative path components “</span><code style="text-align: justify; background-color: rgb(255, 255, 255);">.</code><span style="font-family: Georgia, serif; text-align: justify; background-color: rgb(255, 255, 255);">” and “</span><code style="text-align: justify; background-color: rgb(255, 255, 255);">..</code><span style="font-family: Georgia, serif; text-align: justify; background-color: rgb(255, 255, 255);">”, and possible </span><a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#merge_slashes" style="font-family: Georgia, serif; text-align: justify; background-color: rgb(255, 255, 255);">compression</a><span style="font-family: Georgia, serif; text-align: justify; background-color: rgb(255, 255, 255);"> of two or more adjacent slashes into a single slash.</span></blockquote><div><br></div>so i do not have to put // in the location , and it works </div><div><br></div><div><div> location ^~ /ue/ue/ {</div><div> rewrite ^/ue(/ue/.*) $1 permanent;</div><div> }</div><div><br></div><div><br></div><div>Thank you all people here.</div><div><br></div><div>--</div><div>Ronald,</div><div>Paris.</div><div><br></div><div><br><div><div>Le 16 août 2014 à 12:07, Edho Arief <<a href="mailto:me@myconan.net">me@myconan.net</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><p dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">><br>> location ^~ /ue//ue/ {<br>> rewrite ^/ue(/ue/.*) $1 permanent;<br>> }<br>><br>> does not work :o(<br>><br>></p><p dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">try reading the documentation:<span class="Apple-converted-space"> </span><a href="http://nginx.org/r/location">http://nginx.org/r/location</a><br></p><br class="Apple-interchange-newline"></blockquote></div><br></div></div></body></html>