Solutionist's Blog

Tech | Health | Life | Travel

squid transparent proxy with single Ethernet interface (port)

 squid transparent proxy with single Ethernet interface (port) #1: yum install squid   #2 vim /etc/squid/squid.conf http_port 192.168.1.98:3128 transparent hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY auth_param basic children 5 auth_param basic realm Squid proxy-caching web server auth_param basic credentialsttl 2 hours refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% […]

Google URLs for Different Countries

Google may or may not be the search engine of choice for non-English speaking markets (what we know about Google’s share of the search market is mainly true about the English-speaking market – elsewhere results may differ), but it certainly helps to rank in Google for those markets you want to pursue.   For the […]

Install Rsync in mandriva

It was strange to find out rsync missing in mandriva distribution i have, after couple of google search found this command and worked well   # urpmi rsync ftp://ftp.tu-chemnitz.de/pub/linux/mandrakelinux/official/2007.1/i586/media/main/updates/rsync-2.6.9-5.2mdv2007.1.i586.rpm installing rsync-2.6.9-5.2mdv2007.1.i586.rpm from /var/cache/urpmi/rpms Preparing… ########################################################################################################################### 1/1: rsync ###########################################################################################################################

how to find OS X Mavericks InstallESD image file

how to find OS X Mavericks InstallESD image file Launch Terminal to show hidden files and relaunch the Finder using this defaults command string: defaults write com.apple.Finder AppleShowAllFiles TRUE;\killall Finder;\say Files Revealed Go to the /Applications/ folder to locate the “Install OS X 10.9 Developer Preview.app” file Right-click and choose “Show Package Contents”, then open […]

exclude sites in squid

  #1: To exclude your local domain sites / range from cache, use following 1 2 acl local_server dst 192.168.0.0/24 192.168.1.0/24 cache deny local_server   #2: If you are using SQUID proxy server and you don’t want to cache few sites , use the following directives, 1 2 acl hotmail dstdomain .hotmail.com always_direct allow hotmail

Secured By miniOrange