Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to Make Permanent Changes to Squid Configuration

I am trying to configure the http proxy (Squid) so that it will not cache a certain domain (our companies website). Our website is updated quite freqeuntly, and users like to see the most current changes. Anyway...

I edited the /var/chroot-squid/etc/squid.conf and added the following two lines:

acl CAS dstdomain .caslab.com
no_cache deny CAS

The file is read-only, so I had to force a save in vi by using the :w! option. Next I restarted the proxy by issuing the following command:

/etc/rc.d/squid restart

The problem is that the squid.conf file keeps getting rewritten to its default configuration by some mechanism.  [:S]  

Does anyone know how to edit the file so that the changes are permanent?

Thanks!


This thread was automatically locked due to age.
Parents Reply Children
  • quote:
    Originally posted by Mike Sullivan:
    I edited the /var/chroot-squid/etc/squid.conf and added the following two lines:

    acl CAS dstdomain .caslab.com
    no_cache deny CAS

    Does anyone know how to edit the file so that the changes are permanent?

    Thanks!



    You need to edit squid.conf-default
  • I managed to figure that out yesterday, but didn't get a chance to add a reply here. Editing the squid.conf-default file did the trick.

    Thanks for all the help!!  [:)]