Recently I compiled php 5.3.11 with fpm support, and as soon I get apache up using
ProxyPassMatch "^/(.*\.php(/.*)?)$" "fcgi://127.0.0.1:9000/$1" DirectoryIndex index.html index.htm index.sthml welcome.html /index.php index.php
It makes php to work fine, but stops directory listing; on the other hand I have:
<FilesMatch ".*\.php.*"> SetHandler "proxy:fcgi://127.0.0.1:9000/var/www/" DirectoryIndex index.html index.htm index.shtml welcome.html index.php /index.php Options +Indexes +Multiviews +Includes +FollowSymLinks </FilesMatch>
And it works backwards as ProxyPassMatch, everything works but php breaks.
I have my php-fpm.conf directive: listen = 127.0.0.1:9000
I tried
listen = /var/run/php-fpm.sock
But it happens all the same.
Is that it isn't possible to use Options +Indexes +Multiviews +Includes +FollowSymLinks altogether with ProxyPassMatch?
Why isn't my FilesMatch directive working? I even have tried to setHandler the full path
And believe me, I have tried almost everything I have found using google, server fault and stack overflow!!!
Thanks for your help.