Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 09 November 2024, 12:06:43 am

Login with username, password and session length

Download the latest community FREE version  HERE
14250 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  EFW SMTP, HTTP, SIP, FTP Proxy Support
| | |-+  [Solved]where I should edit to add refresh pattern policy for proxy
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: [Solved]where I should edit to add refresh pattern policy for proxy  (Read 12177 times)
mangthjik
Full Member
***
Offline Offline

Posts: 21


« on: Tuesday 07 February 2012, 11:58:47 am »

hello sir,,,  I am newbie here,

may be this is a stupid question

I need to override refreshpattern in squid ?

where i should  insert the refresh pattern code?
 thanks



Logged
endianupdate
Full Member
***
Offline Offline

Posts: 53


« Reply #1 on: Wednesday 08 February 2012, 07:48:32 am »

The proxy configuration in the EFW web interface does not allow you to change the refresh_pattern settings, you will need to edit the /etc/squid/squid.conf.tmpl file (on Windows use WinSCP)

The squid.conf.tmpl file is used by EFW to create the squid.conf file so do not edit the squid.conf file directly as the changes will be overwritten when the Proxy is restarted.

Here are the default settings in the squid.conf.tmpl file for EFW 2.5.1

# caching settings
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern .            0 20% 4320

You will need to change these to your settings and then restart the Proxy

Of course take a backup copy of the original file first  Smiley

Hope this helps.
Logged
mangthjik
Full Member
***
Offline Offline

Posts: 21


« Reply #2 on: Friday 10 February 2012, 06:23:27 pm »

thanks endianupdate .... Smiley  solved
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.042 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com