Re: [squid-users] Reverse proxy to bypass government's proxy !!!

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sun, 30 Dec 2007 23:51:21 +0100

On mån, 2007-12-24 at 14:05 +0200, AN@S wrote:

> A user requests newdomain.com (which is registered by me and
> connected to my server) ---> Squid will get the content of
> www.theblockedwebsite.com and deliver it to the end user ---> The
> browser's URL remains newdomain.com because if changed the user will
> get the ugly "Access Denied" page.
>
> I did the following configuration:
>
> ------------------
>
> http_port 80 # Port of Squid proxy
> httpd_accel_host xx.xx.xx.xx # IP address of web server I need to reach
> httpd_accel_port 80 # Port of web server

Upgrade to 2.6, then see the FAQ chapter on reverse proxying.

Also check your access.log. If it says TCP_MISS/3xx then it's the web
server sending the redirect, not Squid..

Regards
Henrik
Received on Sun Dec 30 2007 - 15:51:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST