title: apache AccessFileName .htaccess error
body: <p>I am setting up a new installation of a LAMP using a different method than I have before.  After adding some virtual hosts I attempted to reload apache and received an error.</p>
  
  <pre><code>Syntax error on line 160 of /etc/apache2/apache2.conf:
  Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
  Action 'configtest' failed.
  The Apache error log may have more information.
    ...fail!
  </code></pre>
  
  <p>The error.log presents nothing in the way of new information.  This is the block of text</p>
  
  <pre><code>AccessFileName .htaccess
  
  #
  # The following lines prevent .htaccess and .htpasswd files from being 
  # viewed by Web clients. 
  #
  &lt;Files ~ "^\.ht"&gt;
      Order allow,deny
      Deny from all
      Satisfy all
  &lt;/Files&gt;
  </code></pre>
  
  <p>The line beginning with 'Order allow' is the offending command but I do not know how to fix it.  Research points to similar errors returned for syntax problems but I can't find an identical one for the way this syntax is supposed to be.  Can anyone offer help?</p>
  
  <p><strong>2013-12-28 Update</strong></p>
  
  <p>I followed the advice of Tuga and added </p>
  
  <pre><code>LoadModule authz_host_module modules/mod_authz_host.so
  </code></pre>
  
  <p>to httpd.conf.  Now I receive the error:</p>
  
  <p>Cannot load /etc/apache2/modules/mod_authz_host.so into server: /etc/apache2/modules/mod_authz_host.so: cannot open shared object file: No such file or directory.</p>
  
  <p>Doing some more research I came across </p>
  
  <pre><code>&lt;pre&gt;
  &lt;?php
  print_r(apache_get_modules());
  ?&gt;
  &lt;/pre&gt;
  </code></pre>
  
  <p>to load in a php file and view in a browser.  According to the script <code>mod_authz_host</code> is enabled.</p>