Magento with apache httpd 2.4 and php-fpm

After struggling for several hours our being unable to access admin section of our Magento installation when using apache httpd 2.4 configured with php-fpm, we finally found the problem.

Coming from here, we used incorrect ProxyPassMatch, specifically:

ProxyPassMatch ^/(.*\.php)$ fcgi://$1

instead of

ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://$1

Using the 2nd option solved all problems with Magento admin section access.