Re: [squid-users] Correct Syntax for ACL?

2015-05-27 Thread Hussam Al-Tayeb
On Wednesday 27 May 2015 22:03:14 Walter H. wrote: > Hello, > > would this be the correct syntax: > > acl crl-file url_regex -i \.crl$ > > or need it to be > > acl crl-file url_regex -i "\.crl$" > > how does squid distinquish between a file containing rules > e.g. acl acl-file url_regex -i "/e

[squid-users] rock storage

2015-06-01 Thread Hussam Al-Tayeb
Hello, I added a 5000MB rock storage entry in squid.conf when it filled up, squid cache manager said: Storage Swap size: 512 KB Storage Swap capacity: 100.0% used, 0.0% free but du -BM says 4703M is the size of the rock storage file. ls -l says 524288. Since it is f

[squid-users] rock storage integrity

2015-12-04 Thread Hussam Al-Tayeb
Hi. I am using squid with rock storage right now to cache computer updates for my Linux computers. It works well. Since this is a database, it is possible for part of the database to get corrupted through a crash or incorrect poweroff? I know from sql database that incorrect shutdowns can cause bin

[squid-users] Cannot purge items that are not upstream anymore

2014-11-12 Thread Hussam Al-Tayeb
Hello. I have a problem with 'squidclient -m PURGE' and also the purge command. They won't purge urls from disk that are not available online anymore or redirect to other links. For example, http://static.firedrive.com/dynamic/previews/75/27577be2d6d86af20265734b64e8d563.jpg which corresponds

Re: [squid-users] Cannot purge items that are not upstream anymore

2014-11-12 Thread Hussam Al-Tayeb
On Thursday 13 November 2014 01:39:27 Amos Jeffries wrote: > On 13/11/2014 12:17 a.m., Hussam Al-Tayeb wrote: > > Hello. I have a problem with 'squidclient -m PURGE' and also the > > purge command. They won't purge urls from disk that are not > > available onlin

Re: [squid-users] Cannot purge items that are not upstream anymore

2014-11-12 Thread Hussam Al-Tayeb
On Thursday 13 November 2014 02:23:12 Amos Jeffries wrote: > On 13/11/2014 1:55 a.m., Hussam Al-Tayeb wrote: > > On Thursday 13 November 2014 01:39:27 Amos Jeffries wrote: > >> On 13/11/2014 12:17 a.m., Hussam Al-Tayeb wrote: > >>> Hello. I have a problem with &

[squid-users] Invalid entries

2015-04-24 Thread Hussam Al-Tayeb
On occasions, when restarting squid after very long uptime, cache.log says "1 invalid entries". I know for sure that squid was not shut down incorrectly since the last session closed correctly "Squid Cache (Version 3.5.3): Exiting normally." They usually disappear very quickly when squid swaps a

[squid-users] How do I no-cache the following url?

2015-04-30 Thread Hussam Al-Tayeb
What rule would I have to add to not cache the following url? http://images.example.com\imageview.gif?anything Everything up to the "?" is an exact match. So I want to not cache http://images.example.com\imageview.gif? http://images.example.com\imageview.gif?anything http://images.example.

[squid-users] how do I no-cache the following url pattern?

2015-04-30 Thread Hussam Al-Tayeb
What rule would I have to add to not cache the following url? http://images.example.com\imageview.gif?anything Everything up to the "?" is an exact match. So I want to not cache http://images.example.com\imageview.gif? http://images.example.com\imageview.gif?anything http://images.example.com\imag

[squid-users] vary headers

2015-05-03 Thread Hussam Al-Tayeb
Hello, how would I deny caching to replies containing Vary: User-Agent http header? I already use: acl hasVary rep_header Vary . store_miss deny hasVary but it won't block caching of "Vary: User-Agent" replies. thank you ___ squid-users mailing list s

Re: [squid-users] vary headers

2015-05-03 Thread Hussam Al-Tayeb
> Sent: Sunday, May 03, 2015 at 8:04 PM > From: "Yuri Voinov" > To: squid-users@lists.squid-cache.org > Subject: Re: [squid-users] vary headers > > Headers has own acl. > Example: > > # Strip User-Agent from Vary > request_header_access Vary deny all > request_header_replace Vary Accept-Encodin

Re: [squid-users] vary headers

2015-05-03 Thread Hussam Al-Tayeb
> Sent: Sunday, May 03, 2015 at 9:45 PM > From: "Yuri Voinov" > To: squid-users@lists.squid-cache.org > Subject: Re: [squid-users] vary headers > > I understand what do your want. But for what? > > because a "wget --server-response http://someurl"; operation that replies with a "Vary: user-age

Re: [squid-users] vary headers

2015-05-03 Thread Hussam Al-Tayeb
> Sent: Sunday, May 03, 2015 at 9:55 PM > From: "Yuri Voinov" > To: squid-users@lists.squid-cache.org > Subject: Re: [squid-users] vary headers > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Will be good enough simple strip user-agent from vary header. > > http://www.fastly.com/

Re: [squid-users] vary headers

2015-05-03 Thread Hussam Al-Tayeb
> Sent: Sunday, May 03, 2015 at 10:19 PM > From: "Yuri Voinov" > To: squid-users@lists.squid-cache.org > Subject: Re: [squid-users] vary headers > > > Sure. Did you cache support gzip? I don't understand that question, sorry. Anyway, I will wait till someone knows how to not cache them. Thank

Re: [squid-users] vary headers

2015-05-04 Thread Hussam Al-Tayeb
> Sent: Monday, May 04, 2015 at 12:49 PM > From: "Amos Jeffries" > To: squid-users@lists.squid-cache.org > Subject: Re: [squid-users] vary headers > > On 4/05/2015 6:54 a.m., Hussam Al-Tayeb wrote: > >> Sent: Sunday, May 03, 2015 at 9:45 PM > >> Fr

Re: [squid-users] vary headers

2015-05-04 Thread Hussam Al-Tayeb
> Sent: Monday, May 04, 2015 at 6:32 PM > From: "Amos Jeffries" > To: "Hussam Al-Tayeb" > Cc: squid-users@lists.squid-cache.org > Subject: Re: [squid-users] vary headers > > On 5/05/2015 3:15 a.m., Hussam Al-Tayeb wrote: > > > > > &g

Re: [squid-users] vary headers

2015-05-04 Thread Hussam Al-Tayeb
> Sent: Monday, May 04, 2015 at 9:04 PM > From: "Amos Jeffries" > To: "Hussam Al-Tayeb" > Cc: squid-users@lists.squid-cache.org > Subject: Re: [squid-users] vary headers > > On 5/05/2015 4:38 a.m., Hussam Al-Tayeb wrote: > > > > > &