title: How to allow Cross domain request in apache2
body: <p>This is my configuration file. </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin webmaster@localhost
      ServerName localhost:80
      DocumentRoot /var/www/XXX
      &lt;Directory /&gt;
          Options None
          AllowOverride None
          Order deny,allow
          Deny from all
      &lt;/Directory&gt;
      &lt;Directory /var/www/qvbn-app-web-ctrl&gt;
          Options FollowSymLinks
          AllowOverride AuthConfig FileInfo
          Order allow,deny
          Allow from all
          Header set Access-Control-Allow-Origin "*"
      &lt;/Directory&gt;
      ErrorLog ${APACHE_LOG_DIR}/error.log
      LogLevel warn
      CustomLog ${APACHE_LOG_DIR}/access.log combined
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>When i am trying to reload apache2 iT is giving error as :</p>
  
  <pre><code>   Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
      Action 'configtest' failed.
  </code></pre>
  
  <p>I don't know how to enable CORS. I followed this:
  <a href="http://enable-cors.org/server_apache.html" rel="noreferrer">http://enable-cors.org/server_apache.html</a></p>