Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Squid3 Proxy on Ubuntu 10.04

Reply to Post Add a New Topic
UserPost

11:20 am
January 3, 2012


johnmaambo

Zambia

New Member

posts 2

Hi All
I need your help on this problem
I have blocked the downloading of the files with file formats as listed
below;It works okey when you try to download by clicking on the link BUT
when you right-click on a link and select the option save link as, it
allows downloads;Does anyone know how to deal with this?

# Access Denied Section
# ============================================== #
# Only allow cachemgr access from localhost
# Only allow purge requests from localhost
acl blockfiles urlpath_regex -i "/etc/squid3/blocks.files.acl"
acl workhours1 time MTWHF 08:00-12:59
acl BlockedSites dstdomain .facebook.com .myspace.com .twitter.com
.warez.com .quepasa.com .yahoo.com .mail.google.com
acl workhours2 time MTWHF 14:00-16:59
http_access deny workhours1 BlockedSites
http_access deny BlockedSites workhours2 blockfiles
#Content of blocks.files.acl
\.[Ee][Xx][Ee]$
\.[Aa][Vv][Ii]$
\.[Mm][Pp][Gg]$
\.[Mm][Pp][Ee][Gg]$
\.[Mm][Pp]3$
\.[Mm][Pp]4$

Regards
John

Reply to Post

Reply to Topic:
Squid3 Proxy on Ubuntu 10.04

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 5
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
16 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 343
Posts: 1062

Membership:

There are 966 Members
There have been 91 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 46
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: waveney, achal, niesul14, hesaum, sreevinodss, nasonov

Administrators: consultant (353 Posts)