No protocol handler was valid for the URL error while using proxy

Posted on 15-04-2014 19:47 by graham
If you are using Apache HTTPD as a proxy and get error:
No protocol handler was valid for the URL

make sure you have enabled modules mod_proxy, proxy and proxy_http.

If this does not help, another thing to check is that the ProxyPass directive contains the trailing slash of the URL it is redirecting to:
ProxyPass / http://127.0.0.2/
ProxyPassReverse / http://127.0.0.2/
Comments

 

Add comment

Has this tutorial been helpful to you? Or do you see anything wrong? We appreciate your opinion!
Your comment:
Show formatting hints
HTML is disallowed, but in your text you can use the following markup
  • [code][/code] for a block of code
  • [tt][/tt] for inline code
  • [link]link href|link anchor[/link] for links
  • [b][/b] for bold text
Email:
+ Ask a question
If you have a technical question related to programming and computers, ask it here. Other users will help you solve it!
Unanswered questions
Share your knowledge by helping others solve their problems