Client denied by server configuration error in Apache.

Just in case if somebody else has a similar problem and can't get the Apache server working as expected.

I have tried to setup proxy_mod under apache to forward HTTP traffic from AJAX Jabber client to the Bosh component running on Tigase server. It was working fine for a long time on my Gentoo server. I have recently wanted to run more tests on a separate machine and had this problem. It was a system based on the Debian distribution and the proxy_mod didn't want to work at all displaying the error message in a log file:

[error] [client ::1] client denied by server configuration: proxy:http://127.0.0.1:5280/xmpp/
, referer: http://localhost/F5A379CEC35AEBCC5FFA11BA8A33CD02.cache.html

All you need to do is to modify proxy.conf file for your Apache2 installation and setup proper permissions. By default the proxy is disabled for all. In my case I had to enable it just for a localhost.

Example configuration from my vim mods-enabled/proxy.conf file:

<IfModule mod_proxy.c>
  ProxyRequests Off
  <Proxy *>
    Order deny,allow
    Deny from all
    Allow from localhost
  </Proxy>
  ProxyVia On
</IfModule>

 

Comments

Hello! cialis testimonials ,

Hello! cialis generic viagra

Hello! viagra alternatives ,

Hello! female viagra ,

Hello!
female viagra ,

Hello! buy cialis ,

Hello!
buy cialis ,

Hello! cialis , phentermine ,

Hello! cialis uk , natural

Hello! tramadol , xanax ,

Hello!
tramadol , xanax , xanax , cialis , tramadol ,

Hello! viagra , xanax ,

Hello!
viagra , xanax , cialis , viagra , viagra ,

Hello! cialis uk , viagra uk

Hello! cialis free sample ,

Hello! cialis ,

Hello!
cialis ,

Hello! tramadol ,

Hello!
tramadol ,

Hello! viagra ,

Hello!
viagra ,

Hello! phentermine ,

Hello!
phentermine ,

Hello! tramadol ,

Hello!
tramadol ,

Hello! cialis in the uk ,

Hello! cialis in the uk ,

Hello! cialis ,

Hello!
cialis ,

Hello! generic viagra ,

Hello!
generic viagra ,

Hello! cialis tablet ,

Hello!
cialis tablet ,

Hello! viagra sale ,

Hello!
viagra sale ,

Hello! viagra ,

Hello!
viagra ,

Hello! order cialis , buy

Hello! xanax , viagra ,

Hello! tramadol , cialis ,

Hello! tramadol , xanax ,

Hello! xanax , cialis , xanax

Hello!
xanax , cialis , xanax , viagra , tramadol ,

Hello! buy cialis ,

Hello!
buy cialis ,

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.