<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nineteen Labs &#187; freeBSD</title>
	<atom:link href="http://www.nineteenlabs.com/category/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nineteenlabs.com</link>
	<description></description>
	<lastBuildDate>Wed, 16 Dec 2009 14:55:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Squid -k rotate and clear squid cache</title>
		<link>http://www.nineteenlabs.com/2007/10/20/squid-k-rotate-and-clear-squid-cache/</link>
		<comments>http://www.nineteenlabs.com/2007/10/20/squid-k-rotate-and-clear-squid-cache/#comments</comments>
		<pubDate>Sat, 20 Oct 2007 15:22:34 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/10/20/squid-k-rotate-and-clear-squid-cache/</guid>
		<description><![CDATA[Squid -k rotate just a way to &#8216;clear squid cache&#8217; although it doesn&#8217;t clear squid cache (a real cache). But it helps when browsers &#8217;stuck&#8217; with caches (refresh/reload pages doesn&#8217;t work)
This description from Squid FAQ
Cache/Log (Squid 1.x) or Swap.State (Squid 2.x)
This file has a rather unfortunate name. It also is often called the swap log. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nineteenlabs.com/2007/10/19/how-to-clear-squid-cache/">Squid -k rotate just a way to &#8216;clear squid cache&#8217;</a> although it doesn&#8217;t clear squid cache (a real cache). But it helps when browsers &#8217;stuck&#8217; with caches (refresh/reload pages doesn&#8217;t work)</p>
<p>This description from Squid FAQ<br />
<strong>Cache/Log (Squid 1.x) or Swap.State (Squid 2.x)</strong><br />
This file has a rather unfortunate name. It also is often called the swap log. It is a record of every cache object written to disk. It is read when Squid starts up to &#8220;reload&#8221; the cache. If you remove this file when squid is NOT running, you will effectively wipe out your cache contents. If you remove this file while squid IS running, you can easily recreate it. The safest way is to simply shutdown the running process:<br />
<code>% squid -k shutdown</code><br />
This will disrupt service, but at least you will have your swap log back. Alternatively, you can tell squid to rotate its log files. This also causes a clean swap log to be written.<br />
<code>% squid -k rotate</code></p>
<p>For Squid-1.1, there are six fields:<br />
fileno: The swap file number holding the object data. This is mapped to a pathname on your filesystem.<br />
timestamp: This is the time when the object was last verified to be current. The time is a hexadecimal representation of Unix time.<br />
expires: This is the value of the Expires header in the HTTP reply. If an Expires header was not present, this will be -2 or fffffffe. If the Expires header was present, but invalid (unparsable), this will be -1 or ffffffff.<br />
lastmod: Value of the HTTP reply Last-Modified header. If missing it will be -2, if invalid it will be -1.<br />
size: Size of the object, including headers.<br />
url: The URL naming this object.</p>
<p>If you remove the swap.state while Squid is not running, you will not lose your entire cache. In this case, Squid will scan all of the cache directories and read each swap file to rebuild the cache. This can take a very long time, so you&#8217;ll have to be patient.</p>
<p>By default the swap.state file is stored in the top-level of each cache_dir. You can move the logs to a different location with the cache_swap_log option.</p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/10/20/squid-k-rotate-and-clear-squid-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to clear Squid cache?</title>
		<link>http://www.nineteenlabs.com/2007/10/19/how-to-clear-squid-cache/</link>
		<comments>http://www.nineteenlabs.com/2007/10/19/how-to-clear-squid-cache/#comments</comments>
		<pubDate>Fri, 19 Oct 2007 07:36:28 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/10/19/how-to-clear-squid-cache/</guid>
		<description><![CDATA[It&#8217;s simple, use this command :
# squid -k rotate
This command rotate squid log files but also &#8216;clear squid cache&#8217;, without shutdown and restart squid. This command works in the situation where people have &#8216;a constant cache&#8217; (refresh/reload a page doesn&#8217;t work) in their browser, and &#8216;clear cache&#8217; without their notice.
What about squid -z?
squid -z is [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s simple, use this command :<br />
<code># squid -k rotate</code></p>
<p>This command rotate squid log files but also &#8216;clear squid cache&#8217;, without shutdown and restart squid. This command works in the situation where people have &#8216;a constant cache&#8217; (refresh/reload a page doesn&#8217;t work) in their browser, and &#8216;clear cache&#8217; without their notice.</p>
<p>What about squid -z?<br />
squid -z is unlikely choice to clear cache if squid run consistently, because you must stop or shutdown squid before using squid -z. I will use squid -z to rebuild squid cache</p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/10/19/how-to-clear-squid-cache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Accessing computers on a private network by name</title>
		<link>http://www.nineteenlabs.com/2007/09/27/accessing-computers-on-a-private-network-by-name/</link>
		<comments>http://www.nineteenlabs.com/2007/09/27/accessing-computers-on-a-private-network-by-name/#comments</comments>
		<pubDate>Fri, 28 Sep 2007 04:47:08 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/09/27/accessing-computers-on-a-private-network-by-name/</guid>
		<description><![CDATA[I have this problem after OpenDNS setup, i can&#8217;t &#8216;browse&#8217; computer on a private network by name, following a recommendation from OpenDNS, simple tweak in /etc/hosts file.
What is /etc/hosts file?
This is a way for hostnames to map to IP addresses. Operating system will attempt to resolve domain names to IP addresses by first accessing a [...]]]></description>
			<content:encoded><![CDATA[<p>I have this problem after OpenDNS setup, i can&#8217;t &#8216;browse&#8217; computer on a private network by name, following a recommendation from OpenDNS, simple tweak in /etc/hosts file.<br />
What is /etc/hosts file?<br />
This is a way for hostnames to map to IP addresses. Operating system will attempt to resolve domain names to IP addresses by first accessing a local file called the &#8220;hosts&#8221; file, which is simply a database of IP-to-hostname mappings for hosts we know about?such as hosts on our local network?with the /etc/hosts file. /etc/hosts allows you to build a table in which each entry lists an IP address, its most common (or &#8220;official&#8221;) hostname, and any aliases (additional names that map to the same IP address), separated by spaces or tabs. This table is consulted before any DNS queries are made, so /etc/hosts acts both as a backup to DNS (if it&#8217;s not available) and an override (if it&#8217;s not serving correct information). DNS is queried only if the domain name that you are looking for is not listed in this file.</p>
<p>format<br />
<code>ip_address official_hostname alias1 alias2</code></p>
<p>example<br />
<code>192.168.x.x nineteenlabs.com nineteenlabs</code></p>
<p>When I fix this, also resolve a <a href="http://www.nineteenlabs.com/2007/09/20/proftpd-error-getaddrinfo-domain_name-error-hostname-nor-servname-provided-or-not-known/">ftp error</a>. Now, my ftp can <strong>use domain name</strong></p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/09/27/accessing-computers-on-a-private-network-by-name/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Change file owner and group in one &#8217;stroke&#8217;</title>
		<link>http://www.nineteenlabs.com/2007/09/27/change-file-owner-and-group-in-one-stroke/</link>
		<comments>http://www.nineteenlabs.com/2007/09/27/change-file-owner-and-group-in-one-stroke/#comments</comments>
		<pubDate>Fri, 28 Sep 2007 02:33:52 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/09/27/change-file-owner-and-group-in-one-stroke/</guid>
		<description><![CDATA[It&#8217;s Basic, and i forget this command all the time, use this &#8216;chown&#8217; in one of servers, i want to (b)log this command :
I am using this command to change a file owner and a group of directory, its subfolders, and its files
chown -R name:group [directory path]
example :
chown -R kate:kate /usr/local/www/directory_name 
    [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s Basic, and i forget this command all the time, use this &#8216;chown&#8217; in one of servers, i want to (b)log this command :</p>
<p>I am using this command to change a file owner and a group of directory, its subfolders, and its files<br />
<code>chown -R name:group [directory path]</code></p>
<p>example :<br />
<code>chown -R kate:kate /usr/local/www/directory_name </code></p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/09/27/change-file-owner-and-group-in-one-stroke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup OpenDNS in Squid</title>
		<link>http://www.nineteenlabs.com/2007/09/25/setup-opendns-in-squid/</link>
		<comments>http://www.nineteenlabs.com/2007/09/25/setup-opendns-in-squid/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 15:50:20 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/09/25/setup-opendns-in-squid/</guid>
		<description><![CDATA[UPDATED
OpenDNS (from its website) : it&#8217;s a DNS service, aim to make Internet safer, faster, smarter and more reliable.
This is how to setup OpenDNS in SQUID :
Edit squid.conf and add this :
OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
dns_nameservers 208.67.220.220 208.67.222.222
or
dns_nameservers 208.67.220.220
dns_nameservers 208.67.222.222
Save and run this :
squid -k parse
squid -k reconfigure
but if your squid add nameservers from squid.conf, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATED</strong></p>
<p>OpenDNS (from its <a href="http://www.opendns.com">website</a>) : it&#8217;s a DNS service, aim to make Internet safer, faster, smarter and more reliable.</p>
<p>This is how to setup OpenDNS in SQUID :<br />
<strong>Edit squid.conf</strong> and <strong>add this</strong> :<br />
<strong>OPTIONS FOR EXTERNAL SUPPORT PROGRAMS</strong><br />
<code>dns_nameservers 208.67.220.220 208.67.222.222<br />
or<br />
dns_nameservers 208.67.220.220<br />
dns_nameservers 208.67.222.222</code></p>
<p><strong>Save</strong> and <strong>run</strong> this :<br />
<strong>squid -k parse<br />
squid -k reconfigure</strong><br />
but if your squid <strong>add nameservers from squid.conf</strong>, just run squid -k reconfigure</p>
<p>If your squid <strong>add nameservers from /etc/resolv.conf</strong>, add to /etc/resolv.conf :<br />
<code>nameserver 208.67.220.220<br />
nameserver 208.67.222.222</code></p>
<p><strong>Save</strong> and <strong>run</strong> :<br />
<code>squid -k reconfigure</code>, since your squid need to refresh its configuration</p>
<p>Where do I get OpenDNS IP? You can look at a <a href="https://www.opendns.com/start">OpenDNS Web Site</a>.<br />
Test the configuration : open this address in your browser http://welcome.opendns.com</p>
<p>For more configuration or troubleshooting you can ask <a href="http://www.opendns.com/support/">OpenDNS people</a>.</p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/09/25/setup-opendns-in-squid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squid : Ports Restrictions</title>
		<link>http://www.nineteenlabs.com/2007/09/17/squid-ports-restrictions/</link>
		<comments>http://www.nineteenlabs.com/2007/09/17/squid-ports-restrictions/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 14:05:12 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[Squid]]></category>
		<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/09/17/squid-ports-restrictions/</guid>
		<description><![CDATA[Add this to squid.conf
#Port Lists
acl SSL_ports port 443 563
acl Safe_ports port 80  # http
acl Safe_ports port 21  # ftp
acl Safe_ports port 443  # https
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  [...]]]></description>
			<content:encoded><![CDATA[<p>Add this to squid.conf<br />
<code>#Port Lists<br />
acl SSL_ports port 443 563<br />
acl Safe_ports port 80  # http<br />
acl Safe_ports port 21  # ftp<br />
acl Safe_ports port 443  # https<br />
acl Safe_ports port 70  # gopher<br />
acl Safe_ports port 210  # wais<br />
acl Safe_ports port 1025-65535 # unregistered ports<br />
acl Safe_ports port 280  # http-mgmt<br />
acl Safe_ports port 488  # gss-http<br />
acl Safe_ports port 591  # filemaker<br />
acl Safe_ports port 777  # multiling http<br />
acl CONNECT method CONNECT<br />
# Deny requests to unknown ports<br />
http_access deny !Safe_ports<br />
# Deny CONNECT to other than SSL ports<br />
http_access deny CONNECT !SSL_ports</code></p>
<p>or<br />
<code># Port Lists<br />
acl SSL_ports port 443 563<br />
acl Safe_ports port 80 21 443 70 210 1025-65535 280 488 591 777<br />
# Deny requests to unknown ports<br />
http_access deny !Safe_ports<br />
# Deny CONNECT to other than SSL ports<br />
http_access deny CONNECT !SSL_ports</code></p>
<p>If users in your network access remote servers on non standard HTTP/S ports not listed in squid.conf, your browser will show an error page :</p>
<p><em>ERROR</p>
<p>The requested URL could not be retrieved</p>
<p>_____</p>
<p>While trying to retrieve the URL: http://xxx.xxx.xxx.xxx:1000 (this is an example)</p>
<p>The following error was encountered:</p>
<p>* Access Denied.</p>
<p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p>
<p>Your cache administrator is webmaster.</em></p>
<p><strong>This ports restriction help limit unauthorized request.</strong></p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/09/17/squid-ports-restrictions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After reboot, squid -k can not send stop signal again</title>
		<link>http://www.nineteenlabs.com/2007/09/09/after-reboot-squid-k-can-not-send-stop-signal-again/</link>
		<comments>http://www.nineteenlabs.com/2007/09/09/after-reboot-squid-k-can-not-send-stop-signal-again/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 15:14:58 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[Squid]]></category>
		<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/09/09/after-reboot-squid-k-can-not-send-stop-signal-again/</guid>
		<description><![CDATA[If reboot and squid -k says it can not send stop signal again, means that squid.pid is missing
Check squid.pid in the system and if missing, here is what i can suggest :
Look into a previous post in this website, then shutdown squid
squid -k shutdown
Create squid.pid (usually squid.pid located in the same directory with log files)
touch [...]]]></description>
			<content:encoded><![CDATA[<p>If reboot and squid -k says it can not send stop signal again, means that squid.pid is missing<br />
Check squid.pid in the system and if missing, here is what i can suggest :<br />
Look into a <a href="http://www.nineteenlabs.com/2007/09/09/squid-k-problem-can-not-send-stop-signal/">previous post</a> in this website, then shutdown squid<br />
<code>squid -k shutdown</code></p>
<p>Create squid.pid (usually squid.pid located in the same directory with log files)<br />
<code>touch squid.pid</code></p>
<p>squid.pid chmod permission<br />
<code>-rw-r--r--</code></p>
<p>squid.pid chown permission<br />
<code>root : squid</code></p>
<p>Since it&#8217;s empty, we must make Squid to rewrite a squid.pid file<br />
Create Squid swap directories<br />
<code>squid -z</code></p>
<p>Run Squid<br />
<code>squid</code></p>
<p>then try reboot</p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/09/09/after-reboot-squid-k-can-not-send-stop-signal-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squid -k problem : can not send stop signal</title>
		<link>http://www.nineteenlabs.com/2007/09/09/squid-k-problem-can-not-send-stop-signal/</link>
		<comments>http://www.nineteenlabs.com/2007/09/09/squid-k-problem-can-not-send-stop-signal/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 15:00:57 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[Squid]]></category>
		<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/09/09/squid-k-problem-can-not-send-stop-signal/</guid>
		<description><![CDATA[The squid.pid file is missing or unreadable makes squid -k command don&#8217;t work (says it can not send stop signal). We kill Squid manually by finding the process ID with ps. 
ps ax &#124; grep squid
If there are more than one Squid process, be sure to kill the one that shows up as (squid).
example
500  [...]]]></description>
			<content:encoded><![CDATA[<p>The squid.pid file is missing or unreadable makes squid -k command don&#8217;t work (says it can not send stop signal). We kill Squid manually by finding the process ID with ps. </p>
<p><code>ps ax | grep squid</code></p>
<p>If there are more than one Squid process, be sure to kill the one that shows up as (squid).<br />
example<br />
<code>500  ??  Is     0:00.01 squid -sD<br />
505  ??  S      0:00.27 (squid) -sD (squid)</code></p>
<p>then kill it<br />
<code>kill -TERM 505</code></p>
<p>How to fix this? I learn that with a help from <a href="http://wiki.squid-cache.org/SquidFaq/TroubleShooting#head-fa2a8d93db2ab1c414c4d0e71106ce871d2087e1">Squid Faq</a><br />
Run squid again<br />
<code>squid</code></p>
<p>then do ps again<br />
<code>ps ax | grep squid</code></p>
<p>find squid process that shows up as (squid)<br />
example : if the process id 82675 (remember this is example)<br />
Create the PID file and put the process id number there<br />
<code>echo 82675 > /usr/local/squid/logs/squid.pid</code><br />
note : /usr/local/squid/logs/squid.pid (location of squid.pid, this is probably different in your computer)</p>
<p>Then find the Squid process id. Send the process a HUP signal, which is the same as squid -k reconfigure<br />
<code>kill -HUP 82675</code><br />
The reconfigure process creates a new PID file automatically.</p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/09/09/squid-k-problem-can-not-send-stop-signal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>4 things about Squid Swap Directories</title>
		<link>http://www.nineteenlabs.com/2007/09/08/4-things-about-squid-swap-directories/</link>
		<comments>http://www.nineteenlabs.com/2007/09/08/4-things-about-squid-swap-directories/#comments</comments>
		<pubDate>Sat, 08 Sep 2007 13:43:03 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[CentOS/RHEL]]></category>
		<category><![CDATA[Squid]]></category>
		<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/09/08/4-things-about-squid-swap-directories/</guid>
		<description><![CDATA[A few things you need to know about Squid Swap Directories
1. Do not erase or delete using linux delete command. It can cause Swap Directories DIRTY.
2. You do not need to erase or delete Squid Swap Directories if you have no_cache deny (an instruction in squid for no-cache proxy) in squid.conf. Squid need that Swap [...]]]></description>
			<content:encoded><![CDATA[<p>A few things you need to know about Squid Swap Directories<br />
1. Do not erase or delete using linux delete command. It can cause Swap Directories DIRTY.<br />
2. You do not need to erase or delete Squid Swap Directories if you have no_cache deny (an instruction in squid for no-cache proxy) in squid.conf. Squid need that Swap Directories<br />
3. Shutdown Squid before recreates Swap Directories.<br />
4. If you recreates Swap Directories, disconnect any request to Squid. It can cause you a problem, in my experience, i can&#8217;t shutdown Squid properly in next event</p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/09/08/4-things-about-squid-swap-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Cache in Squid 2.5</title>
		<link>http://www.nineteenlabs.com/2007/08/25/disable-cache-in-squid-25/</link>
		<comments>http://www.nineteenlabs.com/2007/08/25/disable-cache-in-squid-25/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 16:47:44 +0000</pubDate>
		<dc:creator>Kate</dc:creator>
				<category><![CDATA[Squid]]></category>
		<category><![CDATA[freeBSD]]></category>

		<guid isPermaLink="false">http://www.nineteenlabs.com/2007/08/25/disable-cache-in-squid-25/</guid>
		<description><![CDATA[Add/modify squid.conf :
#no local caching
maximum_object_size 0 KB
minimum_object_size 0 KB
# specify uncachable requests
acl all src 0.0.0.0/0.0.0.0
no_cache deny all

or
# caches nothing based on time
acl Working time 08:00-16:00
no_cache deny Working

# avoid having a cache directory
cache_dir null /tmp 
or
cache_dir null /null
                   [...]]]></description>
			<content:encoded><![CDATA[<p>Add/modify squid.conf :</p>
<p>#no local caching<br />
<code>maximum_object_size 0 KB<br />
minimum_object_size 0 KB</code></p>
<p># specify uncachable requests<br />
<code>acl all src 0.0.0.0/0.0.0.0<br />
no_cache deny all<br />
</code><br />
or<br />
# caches nothing based on time<br />
<code>acl Working time 08:00-16:00<br />
no_cache deny Working<br />
</code></p>
<p># avoid having a cache directory<br />
<code>cache_dir null /tmp </code><br />
or<br />
<code>cache_dir null /null</code></p>
                        <p><center>&copy; Kate Mag - visit the <a href="http://www.nineteenlabs.com">Nineteen Labs</a> for more great content.</center></p>                  ]]></content:encoded>
			<wfw:commentRss>http://www.nineteenlabs.com/2007/08/25/disable-cache-in-squid-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
