<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font size="-1"><font face="Century Schoolbook L">Hi all in the
list:<br>
<br>
In the first time I will like to say that my English is not very
good, sorry for that. I will try to explain my question for is
some person can help me.<br>
<br>
In the second time, sorry, my question is very simple and
basic...I'm reading all manual and how to but i don't have
results for my problem. I'm a new user for Varnish and i have
very troubles in a priori easy thing.<br>
<br>
I use a Varnish Version 1.1.2 with pressflow (a kind of drupal)
and i try to exclude a URL (or a path) from the cache.<br>
<br>
I use this configuration in my default.vcl:<br>
<br>
sub vcl_recv {<br>
if (req.url ~ "^/portal/ajax_user_bar") {<br>
//return (pass);<br>
//pass;<br>
unset req.http.cookie;<br>
}<br>
[other code]<br>
}<br>
<br>
And in all case I see this result with "varnishtop -b -i TxURL"
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
and the "ajax_user_bar" is a module in pressflow not a directory
of the OS.<br>
<br>
I tried to use a "return (pass);", "pass;" and "unset
req.http.cookie;" (like the example in a tutorial: <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.varnish-cache.org/docs/2.1/tutorial/vcl.html">http://www.varnish-cache.org/docs/2.1/tutorial/vcl.html</a>)
but I can't exclude the URL.<br>
<br>
What is my problem?,What change I make in my code for exclude
this URL?<br>
<br>
Thank for all help, advice or documentation that you can give
me.</font></font><br>
<pre class="moz-signature" cols="72">--
Eduardo Giménez Ruiz
</pre>
</body>
</html>