title: Is it possible to set headers conditionally?
body: <p>I would like <code>.htaccess</code> to perform the following code ONLY if <code>http_referer</code> is from google (.com/ .ru/ .co.uk /.co.in/ etc.). Is this possible?</p>
  <pre><code>&lt;filesMatch &quot;.(jpg|jpeg|png|gif)$&quot;&gt;
  FileETag None
  &lt;ifModule mod_headers.c&gt;
  Header unset ETag
  Header set Cache-Control &quot;max-age=0, no-cache, no-store, must-revalidate&quot;
  Header set Pragma &quot;no-cache&quot;
  Header set Expires &quot;Wed, 11 Jan 1984 05:00:00 GMT&quot;
  &lt;/ifModule&gt;
  &lt;/FilesMatch&gt;
  </code></pre>