title: Apache + PHP-FPM Set proxy timeout only to specific path
body: <p>I have Apache 2.4 with PHP 5.5 without using php_mod but with PHP-FPM and mod_proxy_fcgi, so I added the following to the vhost:</p>
  
  <pre><code>ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:7000/home/var/www/site/$1
  </code></pre>
  
  <p>This worked well but when I had some problems with timeouts I added the following code in order to fix this issue to the vhost file:</p>
  
  <pre><code>&lt;Proxy fcgi://127.0.0.1:7000&gt;
      ProxySet timeout=3600
  &lt;/Proxy&gt;
  ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:7000/home/var/www/site/$1
  </code></pre>
  
  <p>However, I would like to add this timeout only to the administration panel of the website, which is www.site.com/admin/xxx. I tried to add the location tag like below, but it didn't worked (Apache fails when restarting).</p>
  
  <pre><code>&lt;LocationMatch ^/admin/.*\.php(/.*)?$&gt;
      &lt;Proxy fcgi://127.0.0.1:7000&gt;
          ProxySet timeout=3600
      &lt;/Proxy&gt;
  &lt;/LocationMatch &gt;
  ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:7000/home/var/www/site/$1
  </code></pre>
  
  <p>First of all, is that possible? Then which would be the correct syntax?</p>
  
  <p>Many thanks for your time</p>