Hi all, Please do you have the answer for this? Sorry if my question was silly but I really didn't find the answer, does squid -as a reverse proxy- only do a redirection instead of serving the content to the user? Regards, On 24/12/2007, AN@S <anas.marrawi@xxxxxxxxx> wrote: > Hi, > I need to use squid as a reverse proxy. My situation is that I'm from > a country that the government here block websites ! > They recently blocked a website that is very important for my friends > and me, and it does not function probably with proxy bypassing > websites that uses scripts like CGIProxy or Phproxy. > The good thing is that I have a dedicated server in the United States. > I don't have prior experience with squid, I followed some tutorials > but failed to do the following scenario: > > 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 > httpd_accel_single_host on > httpd_accel_with_proxy off > httpd_accel_uses_host_header off > > ------------------ > > When I request newdomain.com, squid redirects me to > theblockedwebsite.com, the URL in the URL bar becomes > theblockedwebsite.com and I still get the ugly "access denied" message > ! > So squid here only did a redirection from my server to the other > blocked website, while I thought squid will (serve) the website then > deliver it to the end user without passing thruogh the government's > proxy! > > What do you suggest? > Your help is highly appreciated. > > Best Regards > -- Anas Marrawi Visit me at: www.anasonline.net