nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Allow specific web site in squid

This is a discussion on Allow specific web site in squid within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Good day to you Can we allow specific web site in squid, because my one site on proxy could not ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-23-2008, 01:07 PM
Junior Member
User
 
Join Date: Jul 2008
My distro: CentOS
Posts: 1
Rep Power: 0
janali is on a distinguished road
Default Allow specific web site in squid

Good day to you
Can we allow specific web site in squid, because my one site on proxy could not work message appear "The Page Cannot Not be Displayed" but with out proxy working fine so I decieded to bypass this site in proxy, how is it possible?
My configuration is
#acl myexample dst_as 1241
acl password proxy_auth REQUIRED
#acl fileupload req_mime_type -i ^multipart/form-data$
#acl javascript rep_mime_type -i ^application/x-javascript$
#
#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl special_url url_regex .kasbdirect.com
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl CAB-Internal src 10.10.1.0/255.255.255.0
acl CAB2 src 274.239.275.0/255.255.255.0
acl siteacl dstdomain .grailresearch.com .zip
acl Banned_sites url_regex -i nude sex sexy xxx mp3 zip
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
http_access allow special_url
http_access deny special_url
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
http_access allow siteacl
http_access deny Banned_sites

http_access allow password
# And finally deny all other access to this proxy
http_access deny all
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
site responding slow via linux proxy yogeshmalik77 CentOS / RHEL / Fedora 2 05-15-2008 12:48 PM
Select specific rows c341 Shell scripting 6 01-18-2007 02:04 AM
Apache site is down message sweta Web servers 1 01-04-2007 11:37 PM
vivek: thanks for a great site fragbait The Hangout 3 12-14-2006 05:13 PM
Script to extract a specific row of data ricc Shell scripting 1 11-15-2005 02:29 PM


All times are GMT +5.5. The time now is 05:42 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36