<!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 bgcolor="#ffffff" text="#000000">
<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>
> </span><br>
<br>
Hola! ;)<br>
<br>
<br>
<span style="white-space: pre;">> I use a Varnish Version 1.1.2
with pressflow (a kind of drupal)<br>
> and i try to exclude a URL (or a path) from the cache.<br>
> </span><br>
<br>
Do you mean 2.1.2 ?<br>
<br>
<span style="white-space: pre;">> I use this configuration in
my default.vcl:<br>
> <br>
> sub vcl_recv { if (req.url ~ "^/portal/ajax_user_bar") {
//return<br>
> (pass); //pass; unset req.http.cookie; } [other code] }<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
result with "varnishtop -b -i TxURL"<br>
> is:<br>
> <br>
> 1.00 TxURL /portal/ajax_user_bar/login?0.9301228949334472<br>
> <br>
> The number after the "login?" are a ramdom number from the
code<br>
> and the "ajax_user_bar" is a module in pressflow not a
directory of<br>
> the OS.<br>
> </span><br>
<br>
Don't worry, varnish will match "ajax_user_bar"<br>
<br>
<span style="white-space: pre;">> <br>
> Thank for all help, advice or documentation that you can
give me.</span><br>
<br>
<br>
[1] - <a 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 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>
</body>
</html>