title: Deny all configuration files except one in Apache
body: <p>I have the following block in my <code>.htaccess</code> to deny download of configuration files</p>
  
  <pre><code># Disables download of configuration
  &lt;Files ~ "\.(tpl|yml|ini)$"&gt;
      # Deny all requests from Apache 2.4+.
      &lt;IfModule mod_authz_core.c&gt;
            Require all denied
      &lt;/IfModule&gt;
  
      # Deny all requests from Apache 2.0-2.2.
      &lt;IfModule !mod_authz_core.c&gt;
          Deny from all
      &lt;/IfModule&gt;
  &lt;/Files&gt;
  </code></pre>
  
  <p>But how can I allow all files which are named <code>swagger.yml</code>?</p>