<div dir="ltr">My bad! I was missing something the last time. <br>Eventually the syntax below worked :D .. woot woot !! <br>Thank you Tollef and everybody for helping. <br><br><div class="gmail_quote">On Thu, Jun 3, 2010 at 2:45 PM, Angie T. Muhammad <span dir="ltr">&lt;<a href="mailto:angie.tawfik@gmail.com">angie.tawfik@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hello group,<br><br>I tried using the %-escaped syntax but it does not work for me. Here is the rule that varnish totally ignores as if it doesn&#39;t exist:<br>
<br>===========================================================================================<br>

   # cache AR taxonomy differently<br>     else if (req.url == &quot;/%25D9%2588%25D8%25B3%25D9%2588%25D9%2585%25D8%25A7%25D8%25AA&quot;) {<div class="im"><br>      set beresp.http.X-Cacheable = &quot;Yes&quot;;<br></div>
      set beresp.ttl = 180m;<br>

      return(deliver);<br>     }<br> ==========================================================================================<br><br>The link exists, and even copying it in this syntax to the browser retrieves the page, but the caching for 180 minutes does not work. Other rules with only English URLS are working like a charm. Please help.<br>

<br>Thanks.<div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Wed, Jun 2, 2010 at 3:56 PM, Angie T. Muhammad <span dir="ltr">&lt;<a href="mailto:angie.tawfik@gmail.com" target="_blank">angie.tawfik@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I tried the second syntax many times before. Varnish refuses to start.<br>
But the good news it accepted the first syntax. I will be checking if<br>
it applies the rule as required and update you.<br>
<br>
Thank you Tollef :)<br>
<div><div></div><div><br>
On 6/2/10, Tollef Fog Heen &lt;<a href="mailto:tfheen@varnish-software.com" target="_blank">tfheen@varnish-software.com</a>&gt; wrote:<br>
&gt; ]] &quot;Angie T. Muhammad&quot;<br>
&gt;<br>
&gt; | I get some lines like:<br>
&gt; |    14 TxHeader     b Referer:<br>
&gt; |<br>
&gt; <a href="http://myserver.example.com/news/%D8%A7%D9%84%D9%85%D9%84%D9%8A%D8%A7%D8%B1%D8%AF%D9%8A%D8%B1-%D8%A7%D9%84%D9%85%D8%B5%D8%B1%D9%8A-%C2%AB%D9%85%D8%AD%D9%85%D8%AF-%D8%A7%D9%84%D9%81%D8%A7%D9%8A%D8%AF%C2%BB-%D9%8A%D9%82%D8%B1%D8%B1-%D8%A8%D9%8A%D" target="_blank">http://myserver.example.com/news/%D8%A7%D9%84%D9%85%D9%84%D9%8A%D8%A7%D8%B1%D8%AF%D9%8A%D8%B1-%D8%A7%D9%84%D9%85%D8%B5%D8%B1%D9%8A-%C2%AB%D9%85%D8%AD%D9%85%D8%AF-%D8%A7%D9%84%D9%81%D8%A7%D9%8A%D8%AF%C2%BB-%D9%8A%D9%82%D8%B1%D8%B1-%D8%A8%D9%8A%D</a><br>



&gt; |<br>
&gt; | The point is that I need to make varnish accept such percentages or any<br>
&gt; | other syntax in VCL file. So that some pages are cached longer based on<br>
&gt; | their Arabic address (Like the one in the referer above).<br>
&gt;<br>
&gt; We use %-escaped strings in vcl, so referring to that string above would<br>
&gt; be to match it to<br>
&gt;<br>
&gt; «<a href="http://myserver.example.com/news/%25D8%25A7%25D9%2584%25D9%2585%25D9%2584%25D9%258A%25D8%25A7%25D8%25B1%25D8%25AF%25D9%258A%25D8%25B1-%25D8%25A7%25D9%2584%25D9%2585%25D8%25B5%25D8%25B1%25D9%258A-%25C2%25AB%25D9%2585%25D8%25AD%25D9%2585%25D8%25AF-%25D8%25A7%25D9%2584%25D9%2581%25D8%25A7%25D9%258A%25D8%25AF%25C2%25BB-%25D9%258A%25D9%2582%25D8%25B1%25D8%25B1-%25D8%25A8%25D9%258A%25D" target="_blank">http://myserver.example.com/news/%25D8%25A7%25D9%2584%25D9%2585%25D9%2584%25D9%258A%25D8%25A7%25D8%25B1%25D8%25AF%25D9%258A%25D8%25B1-%25D8%25A7%25D9%2584%25D9%2585%25D8%25B5%25D8%25B1%25D9%258A-%25C2%25AB%25D9%2585%25D8%25AD%25D9%2585%25D8%25AF-%25D8%25A7%25D9%2584%25D9%2581%25D8%25A7%25D9%258A%25D8%25AF%25C2%25BB-%25D9%258A%25D9%2582%25D8%25B1%25D8%25B1-%25D8%25A8%25D9%258A%25D</a>»<br>



&gt;<br>
&gt; or more easily<br>
&gt;<br>
&gt; {&quot;<a href="http://myserver.example.com/news/%D8%A7%D9%84%D9%85%D9%84%D9%8A%D8%A7%D8%B1%D8%AF%D9%8A%D8%B1-%D8%A7%D9%84%D9%85%D8%B5%D8%B1%D9%8A-%C2%AB%D9%85%D8%AD%D9%85%D8%AF-%D8%A7%D9%84%D9%81%D8%A7%D9%8A%D8%AF%C2%BB-%D9%8A%D9%82%D8%B1%D8%B1-%D8%A8%D9%8A%D" target="_blank">http://myserver.example.com/news/%D8%A7%D9%84%D9%85%D9%84%D9%8A%D8%A7%D8%B1%D8%AF%D9%8A%D8%B1-%D8%A7%D9%84%D9%85%D8%B5%D8%B1%D9%8A-%C2%AB%D9%85%D8%AD%D9%85%D8%AF-%D8%A7%D9%84%D9%81%D8%A7%D9%8A%D8%AF%C2%BB-%D9%8A%D9%82%D8%B1%D8%B1-%D8%A8%D9%8A%D</a>&quot;}<br>



&gt;<br>
&gt; --<br>
&gt; Tollef Fog Heen<br>
&gt; Varnish Software<br>
&gt; t: +47 21 54 41 73<br>
&gt;<br>
<br>
<br>
</div></div><div><div></div><div>--<br>
All the best,<br>
Angie T. Muhammad<br>
Linux Systems Engineer<br>
Al Masry Al Youm<br>
<a href="http://www.almasryalyoum.com/en" target="_blank">http://www.almasryalyoum.com/en</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>All the best,<br>Angie T. Muhammad<br>Linux Systems Engineer<br>Al Masry Al Youm<br><a href="http://www.almasryalyoum.com/en" target="_blank">http://www.almasryalyoum.com/en</a><br>



</div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br>All the best,<br>Angie T. Muhammad<br>Linux Systems Engineer<br>Al Masry Al Youm<br><a href="http://www.almasryalyoum.com/en">http://www.almasryalyoum.com/en</a><br>
</div>