Re: [squid-users] Setting up squid as an accel proxy

From: Martin Jacobson \(Jake\) <jake.jacobson@dont-contact.us>
Date: Wed, 19 Dec 2007 18:38:37 +0000 (GMT+00:00)

Amos,

I have upgraded to STABLE17 but I still have the same issue.

Basically I want to be able to go to URL in my browser like this: http://linproxy1.mysite.com/. (linproxy1 is running squid)

and have squid proxy the default search page from: http://searchengine.mysite.com/

Config settings:
  http_port linproxy1.mysite.com:80 accel
  cache_peer 10.2.234.9 parent 80 0 no-query originserver name=searchengine proxy-only

Martin C. Jacobson (Jake)

----- Original Message -----
From: "Amos Jeffries" <squid3@treenet.co.nz>
To: "Martin Jacobson (Jake)" <jake.jacobson@ugov.gov>
Cc: "squid-users" <squid-users@squid-cache.org>
Sent: Tuesday, December 18, 2007 8:50:08 PM (GMT-0500) America/New_York
Subject: Re: [squid-users] Setting up squid as an accel proxy

> I don't understand why I am having so much trouble getting something that
> seems to be so simple working. I have downloaded and installed
> squid-2.6.STABLE16 on my Linux box.

Please use STABLE17, 16 has a major security bug.

> I want to proxy my search engine's
> search page so I don't want squid caching the pages. I just want squid to
> act as a reverse proxy. After reading "Squid The Definitive Guide" and
> lots of posts on the web, I still can't get it to work. It would seem
> that the following basic config file should do the trick. This is based
> on http://wiki.squid-cache.org/SquidFaq/ReverseProxy
>
> http_port 80 accel defaultsite=linproxy1.mysite.com
> cache_peer searchengine.mysite.com parent 80 0 no-query originserver
> http_access allow all
>
> I can get squid to run with no errors, but it doesn't reverse proxy the
> search engine's search page. With my browser I can go directly to the
> search engine with no problems, but I get a "Connection has timed out"
> error when I try to go through linproxy1.
>

So http://linproxy1.mysite.com is the publicly accessible website for the
search engine?

Does the machine at searchengine.mysite.com serve pages for
http://linproxy1.mysite.com properly?

Amos
Received on Wed Dec 19 2007 - 11:38:45 MST

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