title: enable Apache http Authorization header
body: <p>I write an <code>API</code> with <code>PHP ZF2</code> they use <code>HTTP</code> Authorization. I fetch all <code>HTTP</code> Headers with <code>apache_request_headers()</code> (also tested with ZF2's <code>$this-&gt;getRequest()-&gt;getHeaders())</code>.</p>
  
  <p>It works on my locale installed version. But on my server the HTTP Authorization Header are not available. My Browser Debug tool show me that the Authorization header properly send.</p>
  
  <p>Both server are running with the same software: <code>Ubuntu 14.04</code> with <code>Apache2</code> (Server version: <strong>Apache/2.4.7</strong> (Ubuntu)).</p>
  
  <p>Enabled <code>apache2</code> modules (<code>auth_basic</code> is enabled):
  <a href="https://i.stack.imgur.com/nYgq9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nYgq9.png" alt="enabled Apache2 modules"></a></p>
  
  <p>Is there a <code>PHP ini</code> setting to allow Authorization header?</p>
  
  <p>edit 2015-05-13:</p>
  
  <pre><code>$headers = apache_request_headers();
  if (isset($headers['Authorization'])) {
      echo 'you are auth';
  } else {
      echo 'there is no Authorization';
  }
  </code></pre>
  
  <p>On my locale system this returns 'you are auth', on the server 'there is no Authorization'. Tested with Postman app in Chrome browser.</p>
  
  <p>edit 2015-05-14:
  I think it is an Apache2 topic.</p>
  
  <p>How can i enable the Authorization header in Apache2?</p>