title: why does includeOptional not work the same as writing the code
body: <p>I use apache 2.4 and I have some vhost files that have .htaccess disabled with                 AllowOverride None. </p>
  
  <p>I thought the easiest way to include .htaccess files was to include them with this line</p>
  
  <p>IncludeOptional /etc/httpd/.htaccess/domain.com/*</p>
  
  <p>Now it does seem to include these files and they work however because I use itk to restrict the sites to specific users I believe setEnv wouldn't work in htaccess files. They also don't seem to work in this included files. </p>
  
  <p>So if I put </p>
  
  <p>SetEnv TESTFRED hoho2</p>
  
  <p>inside a file in the .htaccess/domain.com folder it does not work. </p>
  
  <p>If I put it directly under the includeOptional line in the vhost file it works fine.</p>
  
  <p>Can anyone explain this behaviour and suggest a way I can include files and have apache run them as if they were inside the vhost file itself?</p>