Hi Phoenix,
Phoenix Kiula wrote:
> Hi,
>
> I have googled like crazy for some simple instructions to setup Squid
> as a cache for Apache. I do NOT want any filtering or authentication.
> Just a transparent cache.
>
> I am on CentOS 5. For firewall, I use the usual APF and BFD with
> iptables, and I do not want to use Squid for any filtering.
>
> I have installed squid with the usual "yum install squid". Now how do
> I configure it so that Apache (on port 80) will internally check if a
> file is cached on Squid (on whatever port) and if the file is found,
> then serve that instead of an Apache connection.
>
> Am I understanding Squid right? Also, will it cache dynamic content as
> well -- I mean, for instance, the generated output of a PHP program,
> at least the ones without url parameters? We have a number of pages on
> the site that have no file extension at all (e.g., *.php) because the
> default handler is set up as php, so we could have
> http://ourdomain.com/index -- and Apache serves this up as a php page
> as it is meant to. Will Squid recognize this?
>
> Thanks for any tips or pointers. I went to the wiki but sadly it talks
> in very jargon-ish language, and does not answer the simple question
> "How to install Squid as a cache for Apache".
From what you are saying above, you need a Squid reverse proxy instead
of a normal forward proxy.
Check out the URL below:
http://wiki.squid-cache.org/SquidFaq/ReverseProxy
>
> PK
>
>
>
-- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.npReceived on Mon Sep 17 2007 - 09:53:35 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT