<< GWT + maven + jetty + stripes | Home | moving over to jQuery >>

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

Thanks You solved my problem

Re: proxy: No protocol handler was valid for the URL

Thank You for the post. Just what I needed.

Re: proxy: No protocol handler was valid for the URL

thanks again, yet another person this has helped!

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.

Re: proxy: No protocol handler was valid for the URL

Thanks, that did the trick.

Re: proxy: No protocol handler was valid for the URL

Thanks, really... Two days struggling against this, and a single slash did the job...

Re: proxy: No protocol handler was valid for the URL

Such a little thing, that slash. Wouldn't have found it with you. Thanks

Re: proxy: No protocol handler was valid for the URL

Man I was looking hard how to fix this error. I saw a lot of posts on google saying we have to add or remove some module. I tried everything and It didn't work. And I come on your post... It works perfectly, thanks a lot!!

Re: proxy: No protocol handler was valid for the URL

Thanks, You solved my problem. Really its a very good post.

Add a comment Send a TrackBack