I have Apache 2.4 working with php7 using php-fpm. I'm using this block to pass traffic to php-fpm
<FilesMatch "\.php$">
SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>
The problem I'm having is that parts of the application I'm using, piwik, create php images with urls like this
because there is no .php in the url the FilesMatch fails. If I manually change the url to something like https://xxxxx.edu/piwik/index.php?module= it works fine...
So I'm thinking that either changing the FilesMatch to catch module= or creating a rewrite rule to insert index.php would work but I could use some help doing either.