Hi,
I'm not certain what version of squid you're using. For 2.6, you would
need a cache_peer line. See the FAQ for more info:
http://wiki.squid-cache.org/SquidFaq/ReverseProxy
Dan
AN@S wrote:
> Hi,
> I simply want to do the following:
> Users -through their web browsers- request mydomain.com (which is the
> reverse-proxy's domain) --> The reverse proxy gets the content of
> originalserver.com delivered to the user and the URL in the browser
> remains mydomain.com.
>
> My problem is that the original server's contents are not delivered to
> users through squid, instead squid is just redirecting all requests
> from mydomain.com to originalserver.com, the url changes in the URL
> bar, and contents are delivered to users from the original server
> directly.
>
> I've read a lot of tutorials they all say the same about reverse
> proxying configurations, and here is my config:
>
> ------------------
>
> http_port 80 # Port of Squid proxy
> httpd_accel_host xoriginalserver.com
> httpd_accel_port 80 # Port of web server
> httpd_accel_single_host on
> httpd_accel_with_proxy off
> httpd_accel_uses_host_header off
>
> ------------------
>
> Did I miss something? Is it normal for squid to simply redirect
> requests and not (serving) them? I'm totally new to squid, I've been
> stuck in this problem for several days and tried a lot different
> configurations but couldn't figure this out, please tell me what did I
> miss?
>
>
> Your help is highly appreciated.
>
> Best Regards
Received on Fri Dec 28 2007 - 08:34:35 MST
This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST