title: Apache FilesMatch - matching a folder in the regular expression
body: <p>I'm trying to cache some files using a .htaccess file for Apache2. I want to cache a particular folder longer than anything else, so i've been trying to use the FilesMatch directive like this:  </p>
  
  <p><code>&lt;FilesMatch "skins(.*)\.(jpg|png|gif)"&gt;<br>
      ExpiresDefault A2592000<br>
      &lt;/FilesMatch&gt;</code>  </p>
  
  <p>I'm hoping to be able to cache all image files in the /skins/ directory and it's subdirectories. However, I can't quite get the regular expression to work - Apache just ignores it altogether.</p>
  
  <p>How do you match a folder with <code>&lt;FilesMatch&gt;</code> in a .htaccess file? </p>
  
  <p>Cheers,<br>
     Matt</p>