SquidGuard is a URL redirector used to use blacklists with the proxysoftware Squid. There are two big advantages to squidguard: it is fast and it is free.
FastCGI
Primary tabs
Install PHP per the instructions.
Compile Apache with --enable-proxy-fcgi
Enable the proxy_fcgi
and proxy
modules in /usr/local/apache/conf/httpd.conf
:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
Also add:
ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/php-fpm.pid|fcgi://localhost/usr/local/apache2/htdocs/"
Resource
High-performance PHP on apache httpd 2.4.x using mod_proxy_fcgi and php-fpm
Apache Module mod_proxy_fcgi
- Log in to post comments