Welcome, Guest. Please login or register.
Did you miss your activation email?
Sunday 24 November 2024, 04:26:16 pm

Login with username, password and session length

Get the new Updates directly from Endian  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
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 12552 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.109 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com