Koozali.org: home of the SME Server

Obsolete Releases => SME Server 6.x => Topic started by: supershark on March 01, 2006, 10:33:52 PM

Title: Edit the /etc/squid/squid.conf file
Post by: supershark on March 01, 2006, 10:33:52 PM
Hi

I would like to edit the /etc/squid/squid.conf to customize the acl's on squid but it states that i cannot edit it. It says i need to edit the file in the templates-custom directory. I had a look at the development guide but i didnt understand it. :cry:

i could not find the squid.conf file in the stated folder

could somebody please tell me how this is done?

Any help would be gladdly appricieted

Thanks

Supershark
Title: Edit the /etc/squid/squid.conf file
Post by: byte on March 02, 2006, 04:58:51 PM
If it's not there then create it like...

mkdir –p /etc/e-smith/templates-custom/etc/squid/squid.conf/

then touch a new file you want to modify for example...

20ACL00all

and any others you may need which I know you will need to modify also...

40http_access
75AllowLocal

As I have done some custom work on acl's

once you done your changes just run at command line...

/sbin/e-smith/expand-template /etc/squid/squid.conf

then restart the squid service as normal.

HTH