<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.italic
        {mso-style-name:italic;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></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="WordSection1">
<p class="MsoNormal">Hi, I am using Varnish in front of the Caringo CAStor storage system.<o:p></o:p></p>
<p class="MsoNormal">CAStor requires Varnish to perform the actions described below, is this possible? (basically I would need some kind of ‘God mode’ for the backends, or I need to bypass the director – or make my own director)<o:p></o:p></p>
<div style="mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><o:p> </o:p></p>
<p class="MsoNormal" style="border:none;padding:0cm">( the redirects occur on PUT-POST-GET-HEAD)<o:p></o:p></p>
<p class="MsoNormal" style="border:none;padding:0cm"><o:p> </o:p></p>
<p class="MsoNormal" style="border:none;padding:0cm">Thanks in advance.<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Client applications must be able to accept and properly interpret two different<br>
kinds of redirect responses. If CAStor returns a <span class="italic">301 Moved Permanently</span> response, this means the Primary Access Note<br>
(PAN) is asking the client to resend the current request to the <span class="italic">
location</span> supplied in the response headers (see <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.2" target="_top">
Section 10.3.2</a> of the HTTP/1.1 spec) <span class="italic">and</span> to direct all future requests to that new node until further<br>
notice.<o:p></o:p></p>
<p>An authorization parameter will be supplied in the location header. This<br>
parameter should be included in the request to the new PAN. It is possible that a<br>
future <span class="italic">Moved Permanently</span> will be received<br>
redirecting to yet another PAN (in that respect, the response is slightly<br>
misnamed).<o:p></o:p></p>
<p>The second type of redirect response CAStor might send is the <span class="italic">
307 Temporary Redirect</span>. This response asks the client<br>
to resend the current request to the <span class="italic">location</span><br>
supplied in the response headers, but to continue using the original PAN for the<br>
next request until further notice.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div style="CLEAR: both">
<table style="CLEAR: both" border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="645" bgcolor="#ffffff" align="left">
<tbody>
<tr>
<td height="16"><img alt="" src="cid:blank4a37.gif" width="16" height="16"></td>
</tr>
<tr>
<td style="LINE-HEIGHT: 140%; FONT-FAMILY: Arial,Helvetica,sans-serif; COLOR: #666; FONT-SIZE: 12px">
<strong>Thijs van Nuland</strong></td>
</tr>
<tr>
<td style="LINE-HEIGHT: 140%; FONT-FAMILY: Arial,Helvetica,sans-serif; COLOR: #666; FONT-SIZE: 12px">
Senior Applicatiebeheerder</td>
</tr>
<tr>
<td height="8"><img alt="" src="cid:blank2447.gif" width="8" height="8"></td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#cccccc">
<tbody>
<tr height="1" bgcolor="#cccccc">
<td bgcolor="#cccccc" height="1"><img alt="" src="cid:blank2222.gif" width="1" height="1"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td height="8"><img alt="" src="cid:blank4bdf.gif" width="8" height="8"></td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td style="LINE-HEIGHT: 140%; FONT-FAMILY: Arial,Helvetica,sans-serif; COLOR: #666; FONT-SIZE: 12px">
<font color="#666666"><strong>Mirabeau | Managed Services</strong>    Emmasingel 29-31, 5611 AZ Eindhoven<br>
+31(0)20-5950550  -  <a style="COLOR: #666; TEXT-DECORATION: none" href="http://www.mirabeau.nl">www.mirabeau.nl</a>
</font></td>
</tr>
</tbody>
</table>
</td>
<td valign="top" width="161"><img alt="Mirabeau" vspace="3" src="cid:miralogo4e6c.png">
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr height="24">
<td height="24" width="20"><img alt="" src="cid:leaf4a68.gif" width="16" height="16">
</td>
<td style="FONT-FAMILY: Arial,Helvetica,sans-serif; COLOR: #91ac1f; FONT-SIZE: 12px">
<font color="#91ac1f">Please consider the environment before printing this email</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</body>
</html>