1 # Redirect to local php-fpm if mod_php is not available
3 <IfModule proxy_fcgi_module>
4 # Enable http authorization headers
5 <IfModule setenvif_module>
6 SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
9 <FilesMatch ".+\.ph(ar|p|tml)$">
10 SetHandler "proxy:unix:/run/php/php7.2-fpm.sock|fcgi://localhost"
12 <FilesMatch ".+\.phps$">
13 # Deny access to raw php sources by default
14 # To re-enable it's recommended to enable access to the files
15 # only in specific virtual host or directory
18 # Deny access to files without filename (e.g. '.php')
19 <FilesMatch "^\.ph(ar|p|ps|tml)$">