title: htaccess error: Require not allowed in <Files> context
body: <p>I'm trying to upgrade to the latest version of phpbb3.2 by following <a href="https://www.phpbb.com/support/docs/en/3.2/ug/upgradeguide/upgrade31/" rel="nofollow noreferrer">this guide</a>, but I'm getting a 500 Internal Server Error and the following error in my apache 2.4 error log when I try to access the /install directory: </p>
  
  <pre><code>C:/website/forum/.htaccess: Require not allowed in &lt;Files&gt; context
  </code></pre>
  
  <p>I tried googling for the "Require not allowed in Files context" error, but there are literally no results. Must be a rare or a newly introduced error.</p>
  
  <p>The htaccess in question contains the following: </p>
  
  <pre><code>&lt;IfModule mod_version.c&gt;
      &lt;IfVersion &lt; 2.4&gt;
          &lt;Files "config.php"&gt;
              Order Allow,Deny
              Deny from All
          &lt;/Files&gt;
          &lt;Files "common.php"&gt;
              Order Allow,Deny
              Deny from All
          &lt;/Files&gt;
      &lt;/IfVersion&gt;
      &lt;IfVersion &gt;= 2.4&gt;
          &lt;Files "config.php"&gt;
              Require all denied
          &lt;/Files&gt;
          &lt;Files "common.php"&gt;
              Require all denied
          &lt;/Files&gt;
      &lt;/IfVersion&gt;
  &lt;/IfModule&gt;
  &lt;IfModule !mod_version.c&gt;
      &lt;IfModule !mod_authz_core.c&gt;
          &lt;Files "config.php"&gt;
              Order Allow,Deny
              Deny from All
          &lt;/Files&gt;
          &lt;Files "common.php"&gt;
              Order Allow,Deny
              Deny from All
          &lt;/Files&gt;
      &lt;/IfModule&gt;
      &lt;IfModule mod_authz_core.c&gt;
          &lt;Files "config.php"&gt;
              Require all denied
          &lt;/Files&gt;
          &lt;Files "common.php"&gt;
              Require all denied
          &lt;/Files&gt;
      &lt;/IfModule&gt;
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Any idea how to solve this?</p>
  
  <p>EDIT: I used the command mentioned in the guide as an alternative to the install directory steps and completed the guide, but even accessing the root forum url still gives the same error, so this issue is not related to the "install/" instructions.</p>