title: ProxyPass|ProxyPassMatch can not have a path when defined in a location
body: <p>I tried the answer in this problem.
  <a href="https://serverfault.com/questions/529128/how-to-merge-multiple-proxypass-directives-in-apache">How to merge multiple ProxyPass directives in Apache?</a>
   But I am getting an error when I am starting apache saying <code>ProxyPass|ProxyPassMatch can not have a path when defined in a location.</code></p>
  
  <p>My 000-default.conf has below code </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  include location1.conf
  include location2.conf
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>and my location1 has,</p>
  
  <pre><code>&lt;Location /web/?_escaped_fragment_=/&gt;
  ProxyPass        /phpmyadmin !
  ProxyPass / http://localhost:8082/
  ProxyPassReverse / http://localhost:8082/
  &lt;/Location&gt;
  </code></pre>
  
  <p>and my location2 has,</p>
  
  <pre><code>&lt;Location /web/#!/&gt;
  ProxyPass        /phpmyadmin !
  ProxyPass / http://localhost:8080/
  ProxyPassReverse / http://localhost:8080/
  &lt;/Location&gt;
  </code></pre>