proxy: No protocol handler was valid for the URL
mod_proxy_balancer trouble
I recently wasted some while trying to configure mod_proxy_balancer. Although I configured everything correctly and enabled all needed modules (mod_proxy, mod_proxy_http all I always got was an internal server error and the following entry in apaches error.log
[warn] proxy: No protocol handler was valid for the URL /login.html. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
My configuration looked like this
After several tries I added a trailing slash to the url of the balancer (and removed one from the BalancerMember url). And baaaaaam it worked ;-). So here is the configuration that works for me now:
Re: proxy: No protocol handler was valid for the URL
Wow. Simple, but it works like a charm. This should be documented better by Apache. I actually saw another site that specifically said NOT to include the trailing / on some of these enteries. I wonder if this changed at some point during development.