Koozali.org: home of the SME Server

Edit the /etc/squid/squid.conf file

supershark

Edit the /etc/squid/squid.conf file
« 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

Offline byte

  • *
  • 2,183
  • +2/-0
Edit the /etc/squid/squid.conf file
« Reply #1 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
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!