<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Please help me get Purging working. I am really stuck. I
followed the directions in this link: <a
href="http://varnish.projects.linpro.no/wiki/VCLExamplePurging">http://varnish.projects.linpro.no/wiki/VCLExamplePurging</a><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I added these lines to my VCL configuration file and
restarted Varnish:<o:p></o:p></p>
<p class=MsoNormal>sub vcl_hit {<o:p></o:p></p>
<p class=MsoNormal> if (req.request == "PURGE") {<o:p></o:p></p>
<p class=MsoNormal> set obj.ttl = 0s;<o:p></o:p></p>
<p class=MsoNormal> error 200 "Purged.";<o:p></o:p></p>
<p class=MsoNormal> }<o:p></o:p></p>
<p class=MsoNormal>}<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>When I connect to Apache on port 80 and send these command
nothing happens. I need a way to Purge on the fly!<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[root@155496-app3 varnish]# telnet 67.192.43.99 80<o:p></o:p></p>
<p class=MsoNormal>Trying 6.12.4.9...<o:p></o:p></p>
<p class=MsoNormal>Connected to 6.12.4.9.<o:p></o:p></p>
<p class=MsoNormal>Escape character is '^]'.<o:p></o:p></p>
<p class=MsoNormal>PURGE / HTTP/1.1<o:p></o:p></p>
<p class=MsoNormal>Host: <a href="http://www.bla.net">www.bla.net</a><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<table class=MsoNormalTable border=1 cellpadding=0 width=300 style='width:225.0pt;
border:none;border-top:solid black 2.25pt'>
<tr>
<td style='border:none;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><span style='font-size:3.0pt;font-family:"Verdana","sans-serif";
color:white'>.<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td valign=top style='border:none;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:black'>PAVEL PRAGIN</span></b><span style='font-size:7.5pt;font-family:
"Verdana","sans-serif";color:black'> <br>
<a href="mailto:ejohansson@solutionset.com"><span style='color:blue'>ppragin@solutionset.com</span></a>
<br>
<br>
</span><b><span style='font-size:6.0pt;font-family:"Verdana","sans-serif";
color:black'>T ></span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:black'> </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:#5AC100'> 650.328.3900</span><span style='font-size:7.5pt;
font-family:"Verdana","sans-serif";color:black'><br>
</span><b><span style='font-size:6.0pt;font-family:"Verdana","sans-serif";
color:black'>M ></span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:black'> </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:#5AC100'>650.521.4377</span><span style='font-size:7.5pt;font-family:
"Verdana","sans-serif";color:black'> <br>
</span><b><span style='font-size:6.0pt;font-family:"Verdana","sans-serif";
color:black'>F ></span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:black'> </span><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:#5AC100'> 650.328.3901</span><span style='font-size:7.5pt;
font-family:"Verdana","sans-serif";color:black'> <br>
<br>
</span><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>SolutionSet</span></b><span style='font-size:7.5pt;font-family:
"Verdana","sans-serif";color:black'> <br>
The Brand Technology Company <br>
<a href="http://www.solutionset.com/"><span style='color:blue'>http://www.SolutionSet.com</span></a>
<br>
<br>
</span><b><span style='font-size:6.0pt;font-family:"Verdana","sans-serif";
color:black'>PA ></span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:#5AC100'> 131 Lytton Ave., Palo Alto, CA 94301</span><span
style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:black'> <br>
</span><b><span style='font-size:6.0pt;font-family:"Verdana","sans-serif";
color:black'>SF ></span></b><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:#5AC100'> 85 Second St., San Francisco, CA 94105</span><span
style='font-size:7.5pt;font-family:"Verdana","sans-serif";color:black'> <o:p></o:p></span></p>
</td>
</tr>
</table>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>