One suggestion re: Forbidden access via Apache Proxies
If you are getting the following error when configuring Apache 2.2's proxy support (mod_proxy):
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



Buy Stuff From Amazon
1 Comments:
thanks a million for this post. i just uncommented the following and it started working.
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
Post a Comment