<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<font size="-1"><font face="Century Schoolbook L">Hi and Hola for
the Spanish speaking in the list :D<br>
<br>
Thank you so much for your answers..... now I try to update the
version of my varnish.<br>
<br>
Thank to Flavio and Kristian for their answers, when will be
finish update correctly my varnish I will try to follow your
advice.<br>
</font></font><br>
On 01/12/2011 03:48 PM, Flavio Torres wrote:
<blockquote cite="mid:4D2DBF34.10109@yahoo.com.br" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 01/12/2011 09:16 AM, Eduardo Gimenez Ruiz wrote:<br>
<span style="white-space: pre;">> Hi all in the list:<br>
<br>
> </span><br>
<br>
Hola! ;)<br>
<br>
<br>
<span style="white-space: pre;">> I use a Varnish Version 1.1.2<br>
with pressflow (a kind of drupal)<br>
<br>
> and i try to exclude a URL (or a path) from the cache.<br>
<br>
> </span><br>
<br>
Do you mean 2.1.2 ?<br>
<br>
<span style="white-space: pre;">> I use this configuration in<br>
my default.vcl:<br>
<br>
> <br>
<br>
> sub vcl_recv { if (req.url ~ "^/portal/ajax_user_bar") {<br>
//return<br>
<br>
> (pass); //pass; unset req.http.cookie; } [other code] }<br>
<br>
> </span><br>
<br>
try this [1]:<br>
<br>
if (req.url ~ "ajax_user_bar") {<br>
return (pipe);<br>
}<br>
<br>
<br>
<br>
<span style="white-space: pre;">> And in all case I see this<br>
result with "varnishtop -b -i TxURL"<br>
<br>
> is:<br>
<br>
> <br>
<br>
> 1.00 TxURL /portal/ajax_user_bar/login?0.9301228949334472<br>
<br>
> <br>
<br>
> The number after the "login?" are a ramdom number from the<br>
code<br>
<br>
> and the "ajax_user_bar" is a module in pressflow not a<br>
directory of<br>
<br>
> the OS.<br>
<br>
> </span><br>
<br>
Don't worry, varnish will match "ajax_user_bar"<br>
<br>
<span style="white-space: pre;">> <br>
<br>
> Thank for all help, advice or documentation that you can<br>
give me.</span><br>
<br>
<br>
[1] - <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.varnish-cache.org/trac/wiki/VCL#vcl_pipe">http://www.varnish-cache.org/trac/wiki/VCL#vcl_pipe</a><br>
<br>
<br>
hope this helps<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a moz-do-not-send="true"
class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAk0tvzIACgkQNRQApncg296V4ACg2DhT1311CEueyv4WNlosXJuq<br>
wYEAnReacApkqcPTtds2yFD6nLdwOUcL<br>
=EJHg<br>
-----END PGP SIGNATURE-----<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Eduardo Giménez Ruiz
Móvil: (+34) 615 90 60 98
Fax: (+34) 91 799 55 30
____________________________
Parque empresarial La Finca
Paseo del Club Deportivo, 1 - Bloque 11
28223 Pozuelo de Alarcón
Madrid
____________________________
<a class="moz-txt-link-freetext" href="http://www.vectorsf.com">http://www.vectorsf.com</a>
</pre>
</body>
</html>