HTTP through a proxy server is not allowed

Posted by jidma on Server Fault See other posts from Server Fault or by jidma
Published on 2012-11-19T21:55:55Z Indexed on 2012/11/19 23:05 UTC
Read the original article Hit count: 527

Filed under:
|
|
|
|

When I try to connect to my Tomcat server on http://<servername>:8080 it works fine, but from another ISP provided it gives the following error:

HTTP through a proxy server is not allowed.

Some ISP apparently don't allow http over the port 8080, as they think the client uses a proxy.

I also have a httpd running on port 80 for my website.

So in order to avoid the proxy error, I would like to make to following routing:

  • If the user connects to http://<servername>, then the website is served via apache.
  • If the user connects to http://<servername>/AppName, then the port is rerouted to 8080, without the client (or his ISP) knowing.

Is that possible (using iptables or something else) ?

Thank you

© Server Fault or respective owner

Related posts about centos

Related posts about iptables