title: inverted FilesMatch?
body: <p>I'm setting cache control headers for files. I want to set <code>max-age=86400</code> for all <code>.css</code> and <code>.js</code>, and <code>max-age=3600</code> for all others.</p>
  
  <pre><code>&lt;FilesMatch "\.(css|js)$"&gt;
      Header append Cache-Control max-age=86400
  &lt;/FilesMatch&gt;
  
  &lt;FilesMatch "???"&gt;
      Header append Cache-Control max-age=3600
  &lt;/FilesMatch&gt;
  </code></pre>
  
  <p>I can't figure out what regex I should write to invert <code>\.(css|js)$</code> match. Or maybe there is some other way to do this?</p>
  
  <p><strong>UPDATE</strong>. Based on <a href="https://stackoverflow.com/questions/12115652/htaccess-caching-with-filesmatch">this question</a> answer I've found solution that works:</p>
  
  <pre><code>&lt;FilesMatch "(?&lt;!\.css|\.js)$"&gt;
      Header append Cache-Control max-age=3600
  &lt;/FilesMatch&gt;
  </code></pre>
  
  <p>Unfortunatelly can't find a way to leave dot <code>\.</code> outside of brackets. But still this solution fine for me. </p>
  
  <p>As a side note, <em>all other files</em> include ones with not filename at all, like <code>http://example.com/</code>.</p>