<?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>Pocko.org - Rosen Ivanov &#187; Apache</title>
	<atom:link href="http://blog.pocko.org/category/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pocko.org</link>
	<description>Everything is possible! The impossible just takes a little more time...</description>
	<lastBuildDate>Wed, 23 Jun 2010 14:49:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Traffic Balancers and clusters</title>
		<link>http://blog.pocko.org/2008/07/traffic-balancers-and-clusters/</link>
		<comments>http://blog.pocko.org/2008/07/traffic-balancers-and-clusters/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 00:10:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux/Plesk]]></category>
		<category><![CDATA[backup balancer]]></category>
		<category><![CDATA[balancers]]></category>
		<category><![CDATA[cluster servers]]></category>
		<category><![CDATA[hardware balancers]]></category>
		<category><![CDATA[locator balancer]]></category>
		<category><![CDATA[mysql clusters]]></category>
		<category><![CDATA[overloaded servers]]></category>
		<category><![CDATA[traffic balancers]]></category>

		<guid isPermaLink="false">http://pocko.org/blog/?p=15</guid>
		<description><![CDATA[I check about balancing the traffic between the two servers and here is the conclusion for what i learn and found: There are different softwares for balancing the traffic between servers BUT. 1. Almost all of them for linux and windows are not good. There are free softwares which are available in the internet. I [...]]]></description>
			<content:encoded><![CDATA[<p>I check about balancing the traffic between the two servers and here is the conclusion for what i learn and found:</p>
<p>There are different softwares for balancing the traffic between servers BUT.</p>
<p>1. Almost all of them for linux and windows are not good. There are free softwares which are available in the internet. I check Linux Virtual Servers, i check also other balancers for both OS &#8211; linux and windows, but there are no good comments for all of them .<br />
I check also that symantec has their own Veritas Cluster Server, but i&#8217;m not familiar with it and probably it&#8217;s very very expensive.</p>
<p>2. I check also that most of the balancers offers balance for HTTP requests, but there are no balancers for Database or they are very vey expensive (thousands of dollars)</p>
<p>3. If we find a good software (free because paid sofwares are very expensive) we risk to have failers and loose a lot of connections.<br />
-about database balancers<br />
a) there are no balancers easy to set up<br />
b) there are no free or cheap &#8211; some companies want thousands for MySQL balancing software</p>
<p>4. The most real solution for such a think is:</p>
<p>- Hardware load balancers, then yes this is an obvious solution, but each balancer can cost twice as much as a Linux server on its own !<br />
- These balancers will remove all possiblities for failurs!!!</p>
<p>5. There are lot of testers who try all free softwares on the market for balancing servers but almost everybody is saying that there are a lot of problems and BUGS.</p>
<p>6. I think that we also should ask peer1 to make this balance between the servers, because they are really experts and know how to do it. If we risk to configure our servers with any balancer we can have a lot of troubles because we are NOT PRO administrators and that this should be done by a hosting company.</p>
<p>7. I saw in the web that there are some hostings which offers ready hostings for this ,but they offers hostings , not the whole server and it&#8217;s very expensive again &#8230; it&#8217;s almost $5000-$6000 a year &#8230; which is not solution because we already have 2 servers which are very strong.</p>
<p>8. The balancers will work properly like this : we have two servers, they are connected to each other , then they go through Load Balancer Active and through Load Balancer Backup and then through them it goes to the real users&#8230;<br />
- We need to have some hardware which is making a backup all the time , so if something fails on any of the servers, this hardware can save the situation and send the requests back to the users.</p>
<p>9. So i think that we have to speak with peer1 about this problem and see what they will offer for a solution. I hope that they will even offer it for a free , because we already have 2 servers from them</p>
<p>Here are a few links which can be good for all users:</p>
<p><a href="http://www.linux.com/articles/46735">http://www.linux.com/articles/46735</a></p>
<p><a href="http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html">http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html</a></p>
<p><a href="http://iweb.com/managed-hosting/web-cluster?gclid=CNzCwo7n45QCFQ9WtAodMXPEZA">http://iweb.com/managed-hosting/web-cluster?gclid=CNzCwo7n45QCFQ9WtAodMXPEZA</a></p>
<p><a href="http://en.wikipedia.org/wiki/Microsoft_Cluster_Server">http://en.wikipedia.org/wiki/Microsoft_Cluster_Server</a></p>
<p><a href="http://www.symantec.com/business/support/overview.jsp?pid=15066">http://www.symantec.com/business/support/overview.jsp?pid=15066</a></p>
<p>I hope that this article will help to everybody who is trying to solve the problem with overloading and big traffic.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pocko.org/2008/07/traffic-balancers-and-clusters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I enable .htaccess files?</title>
		<link>http://blog.pocko.org/2008/07/how-do-i-enable-htaccess-files/</link>
		<comments>http://blog.pocko.org/2008/07/how-do-i-enable-htaccess-files/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 21:31:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache htaccess]]></category>
		<category><![CDATA[enable .htaccess]]></category>

		<guid isPermaLink="false">http://pocko.org/blog/?p=12</guid>
		<description><![CDATA[.htaccess files can be enabled by placing the following contents in the httpd.conf file: AccessFileName .htaccess &#60;Directory "/usr/local/psa/home/vhosts"&#62; Options +All AllowOverride All Order allow,deny Allow from all &#60;/Directory&#62; Restart apache.]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">.htaccess</div></div>
<p>files can be enabled by placing the following contents in the</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">httpd.conf</div></div>
<p>file:</p>
<blockquote>
<pre style="font-weight: bold;">AccessFileName .htaccess

&lt;Directory "/usr/local/psa/home/vhosts"&gt;
 Options +All
 AllowOverride All
 Order allow,deny
 Allow from all
&lt;/Directory&gt;</pre>
</blockquote>
<p><span style="font-family: monospace;">Restart apache.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pocko.org/2008/07/how-do-i-enable-htaccess-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Caching setup using Apache 2.0</title>
		<link>http://blog.pocko.org/2008/07/caching-setup-using-apache-20/</link>
		<comments>http://blog.pocko.org/2008/07/caching-setup-using-apache-20/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 19:36:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache caching]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[configure apache caching]]></category>

		<guid isPermaLink="false">http://pocko.org/blog/?p=8</guid>
		<description><![CDATA[How to set up the caching using Apache 2.0. In order to get apache proxying the requests the following line needs to be uncommented in the httpd.conf: LoadModule proxy_http_module modules/mod_proxy_http.so The following modules are also needed to get the caching working. They may not appear in your httpd.conf so if not, you&#8217;ll have to add [...]]]></description>
			<content:encoded><![CDATA[<div class="documentDescription">How to set up the caching using Apache 2.0.</div>
<div class="tutorialAbout">In order to get apache proxying the requests the following line needs to be uncommented in the httpd.conf:</div>
<blockquote><p>LoadModule proxy_http_module modules/mod_proxy_http.so</p></blockquote>
<p>The following modules are also needed to get the caching working. They may not appear in your httpd.conf so if not, you&#8217;ll have to add them:</p>
<blockquote><p>LoadModule disk_cache_module modules/mod_disk_cache.so<br />
LoadModule cache_module modules/mod_cache.so</p></blockquote>
<p>The following setting in httpd.conf file was not enough:</p>
<blockquote><p>CacheRoot &#8220;/var/cache/artpropensity.com&#8221;</p></blockquote>
<p>It must be proceeded by:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">C&lt;em&gt;acheEnable disk /&lt;/em&gt;</div></div>
<p>so that it looks like:</p>
<blockquote><p>
CacheEnable disk /<br />
CacheRoot &#8220;/var/cache/artpropensity.com&#8221;</p></blockquote>
<p><strong></strong><br />
I also had to set explicit IP&#8217;s and hosts in my /etc/hosts file, as in:</p>
<blockquote><p>192.168.10.10 www.artpropensity.com artpropensity.com<strong> </strong></p></blockquote>
<p>This is so that the following settings in the httpd.conf file will get resolved properly:</p>
<blockquote><p>ProxyPass / http://www.artpropensity.com:9080/VirtualHostBase/http/www.artpropensity.com:80/artpropensity/VirtualHostRoot/<br />
ProxyPassReverse / http://www.artpropensity.com:9080/VirtualHostBase/http/www.artpropensity.com:80/artpropensity/VirtualHostRoot/</p></blockquote>
<p>Using &#8220;wget -sS &#8230;&#8221; as command line also did not work for me.  I<br />
ended up running a browser on an external server using X-windows.  I set the<br />
browser to no-cache (check for new page each time) to make sure that it did<br />
not cache items and instead made a full request to Apache each time it<br />
accessed the site.  I also used your advice and performed:</p>
<blockquote><p>$ tail -f Z2.log</p></blockquote>
<p>to make sure that Plone was not serving up .js, .css, .gif, etc. and<br />
instead Apache was serving them up once cached.  I did notice 304&#8242;s on some<br />
items, but I assume that&#8217;s because the browser was set to no-cache and it<br />
forced Apache to check with Plone to see if the file had changed.</p>
<p><strong>I noticed a speed increase from 4 requests/sec to an average of 300 using Apache 2 caching</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.pocko.org/2008/07/caching-setup-using-apache-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
