Apache Proxy: No protocol handler was valid Apache Proxy: No protocol handler was valid apache apache

Apache Proxy: No protocol handler was valid


This can happen if you don't have mod_proxy_http enabled

sudo a2enmod proxy_http

For me to get my https based load balancer working, i had to enable the following:

sudo a2enmod sslsudo a2enmod proxysudo a2enmod proxy_balancersudo a2enmod proxy_http


For my Apache2.4 + php5-fpm installation to start working, I needed to activate the following Apache modules:

sudo a2enmod proxysudo a2enmod proxy_fcgi

No need for proxy_http, and this is what sends all .php files straight to php5-fpm:

<FilesMatch \.php$>    SetHandler "proxy:unix:/var/run/php5-fpm.sock|fcgi://localhost"</FilesMatch>


In my case, I needed proxy_ajp module.

a2enmod proxy proxy_http proxy_ajp