If you are getting the following error when configuring Apache 2.2's proxy support (mod_proxy):
With Ubuntu or Debian you can enable them with the following two commands:
Technorati Tags: Apache, mod_proxy, proxy, HTTP, 403, Forbidden, Andrew Beacock
HTTP error code 403 Forbiddenthen you might want to take a look inside the error.log for your site. If you see an error message like this:
[warn] proxy: No protocol handler was valid for the URL /SomeUrl.Then you might want to check that you have more than just mod_proxy enabled. Mod_proxy is more of a virtual module relying on other modules to perform the proxying work depending on the type required. A common mistake is to have enabled mod_proxy but not enabled mod_proxy_http.
If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
With Ubuntu or Debian you can enable them with the following two commands:
a2enmod proxyOtherwise you will have to make manual symbolic links to them yourself.
a2enmod proxy_http
Technorati Tags: Apache, mod_proxy, proxy, HTTP, 403, Forbidden, Andrew Beacock
Comments
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so
Thanks once again for such a helpful blog
All is well. Thanks a million!
I had to comment the "Denny all" in the proxy.conf file, before follow your instruccions to get it work.
Always the more simples errors are the most dificult to fix.
Thanks again ;)
MatÃas Neiff