Hi,
Chapter: Webservers
Section: Apache - Apache and Web Application - Apache with FastCGI (page 111 of pdf version)
When explaining using FilesMatch Handler with Unix socket, the line:
SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi:"
is missing at the end //localhost/ as per Apache documentation https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html.
I have tried using the line in the book but gives a file not found error. It worked fine once I have added the //localhost/ at the end of the line, as follows: SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi://localhost/"
Hi, Chapter: Webservers Section: Apache - Apache and Web Application - Apache with FastCGI (page 111 of pdf version)
When explaining using FilesMatch Handler with Unix socket, the line:
SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi:"
is missing at the end //localhost/ as per Apache documentation https://httpd.apache.org/docs/2.4/mod/mod_proxy_fcgi.html.I have tried using the line in the book but gives a file not found error. It worked fine once I have added the //localhost/ at the end of the line, as follows:
SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi://localhost/"