Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule proxy_fcgi_module>
- # Enable http authorization headers
- <IfModule setenvif_module>
- SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
- </IfModule>
- <FilesMatch ".+\.ph(p[3457]?|t|tml)$">
- SetHandler "proxy:unix:/run/php/php7.0-useris.sock|fcgi://localhost"
- </FilesMatch>
- <FilesMatch ".+\.phps$">
- # Deny access to raw php sources by default
- # To re-enable it's recommended to enable access to the files
- # only in specific virtual host or directory
- Require all denied
- </FilesMatch>
- # Deny access to files without filename (e.g. '.php')
- <FilesMatch "^\.ph(p[3457]?|t|tml|ps)$">
- Require all denied
- </FilesMatch>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment