On mån, 2007-12-24 at 14:05 +0200, [EMAIL PROTECTED] 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

Reply via email to