Hello, I am running ubuntu 16.04 lts server with apache 2.4 running php-fpm via mod_proxy_fcgi. I really should say I am “experimenting”. In my main document root (/var/www/html) I have the following ProxyPassMatch line: ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://localhost:9000/var/www/html/$1/ enablereuse=on This works: I am able to run php scripts just fine in the /var/www/html directory. To run phpmyadmin, I needed the following ProxyPassMatch line: ProxyPassMatch ^/phpmyadmin/(.*\.php(/.*)?)$ "fcgi://localhost:9000/usr/share/phpmyadmin/$1/ enablereuse=on Again this works. I am interested in some sort of site-wide (or at least virtualhost by virtualhost) ProxyPassMatch line such as: Is this possible? Am I going about this the wrong way? Thank you for your time! —jason
|