title: Setting up /status page of php-fpm on Apache2
body: <p>I'm trying to set up the /status page of php-fpm on apache, but i'm getting a 404 error and i can't know why. I'm not expert at neither Apache2 or php, and i been struggling with this a couple days, so i'm here for some help.</p>
  <p>This is my apache2.conf settings. And i also have another site hosted on apache with a Directory config:</p>
  <pre><code>&lt;LocationMatch &quot;/fpm-status&quot;&gt;
  Order Allow,Deny
  Allow from 127.0.0.1
  ProxyPass unix:/var/run/php/php5.6-fpm.sock|fcgi://localhost/fpm-status
  &lt;/LocationMatch&gt;
  </code></pre>
  <p>This is my php5.6 settings</p>
  <pre><code>listen = /run/php/php5.6-fpm.sock
  listen.backlog = 65535
  user = www-data
  group = www-data
  pm.status_path = /fpm_status
  </code></pre>
  <p>When i try to curl over http://localhost/fpm-status this message appears:</p>
  <pre><code>File not found.
  </code></pre>
  <p>On apache2 logs this appears when i try to acces that path:</p>
  <pre><code>AH01071: Got error 'Primary script unknown\n'
  </code></pre>