Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Abe Loveless on December 06, 2002, 06:58:47 AM

Title: TESTERS WANTED: squidProperties Panel
Post by: Abe Loveless on December 06, 2002, 06:58:47 AM
I've just finished my first server-manager panel.  It will allow you to flush the Squid proxy server's cache from the web interface.  You can also specify individual domains that are not to be cached.

Available from here:
http://www.tech-geeks.org/contrib/loveless/beta/squidProperties/

You'll find screenshots, a readme file, and a tarball.  My intention is to build this into an rpm, but I wanted to wait for feedback first.

Installation instructions are in the readme.

I've tested on SME 5.5.  I believe it will work on previous versions, but have not tested it.

Feedback welcome.
Title: Found a bug
Post by: Abe Loveless on December 16, 2002, 06:14:18 PM
Just found a bug in the squidProperties panel.  A squid restart was returning an error, which may have been showing up in your squidguard/dansguardian update:

Here is the fix:

1. Login as Root
2. Change to templates-custom directory
   - "cd /etc/e-smith/templates-custom/etc/squid/squid.conf"
3. Edit file
   - "pico -w 80always_direct60no-cache"
4. On line 27, make the change:
   Current:   $result .= "always direct allow all_direct \n";
   Should be:   $result .= "always_direct allow all_direct \n";

You have to take out the space and add an underscore "_" between "always direct".

5. Expand template:
   - "/sbin/e-smith/expand-template /etc/squid/squid.conf"
6. Restart squid:
   - "service squid restart"
7. Done.

I'll update the tarball this morning.