<?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>Jan Mészáros &#187; Apache</title>
	<atom:link href="http://www.meszaros.cz/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.meszaros.cz</link>
	<description>reflections on technology and society</description>
	<lastBuildDate>Mon, 11 Apr 2011 08:17:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Apache as proxy for IIS 7</title>
		<link>http://www.meszaros.cz/2009/11/apache-as-proxy-for-iis-7/</link>
		<comments>http://www.meszaros.cz/2009/11/apache-as-proxy-for-iis-7/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 16:55:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.meszaros.cz/?p=114</guid>
		<description><![CDATA[Believe or not, a large scale AJAX application running on IIS 7 caused fragmentation issues at transport layer causing "connection timeout" error on the client side. An AJAX HTTP request passed to the IIS, which generated a proper response. The response was split to insufficient number of frames in the Windows net core: several frames [...]]]></description>
			<content:encoded><![CDATA[<p>Believe or not, a large scale AJAX application running on IIS 7 caused fragmentation issues at transport layer causing "connection timeout" error on the client side. An AJAX HTTP request passed to the IIS, which generated a proper response. The response was split to insufficient number of frames in the Windows net core: several frames were sent to client, but several frames were never send (and probably never generated).</p>
<p>The only practicable fix was to use Apache web server as proxy between the client and the IIS. There were no fragmentation issues and no timeout errors on the client side since applying and texting the proxy fix.</p>
<p>Apache rocks.</p>]]></content:encoded>
			<wfw:commentRss>http://www.meszaros.cz/2009/11/apache-as-proxy-for-iis-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache virtual host proxy</title>
		<link>http://www.meszaros.cz/2009/10/apache-virtual-host-proxy/</link>
		<comments>http://www.meszaros.cz/2009/10/apache-virtual-host-proxy/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 21:18:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>

		<guid isPermaLink="false">http://www.meszaros.cz/?p=83</guid>
		<description><![CDATA[I had to move some virtual hosts from one server (server "A") to another server (server "B") without changing DNS records for affected domains yesterday. This can be done easily with Apache's mod_proxy module. An example configuration of the server "A" is shown below: &#60;virtualhost *:*&#62; ProxyPreserveHost On ProxyPass / http://192.168.111.2/ ProxyPassReverse / http://192.168.111.2/ ServerName [...]]]></description>
			<content:encoded><![CDATA[<p>I had to move some virtual hosts from one server (server "A") to another server (server "B") without changing DNS records for affected domains yesterday. This can be done easily with Apache's mod_proxy module. An example configuration of the server "A" is shown below:</p>
<div class="geshi no text">
<ol>
<li class="li1">
<div class="de1">&lt;virtualhost *:*&gt;</div>
</li>
<li class="li1">
<div class="de1">ProxyPreserveHost On</div>
</li>
<li class="li1">
<div class="de1">ProxyPass / <a href="http://192.168.111.2/" rel="nofollow">http://192.168.111.2/</a></div>
</li>
<li class="li1">
<div class="de1">ProxyPassReverse / <a href="http://192.168.111.2/" rel="nofollow">http://192.168.111.2/</a></div>
</li>
<li class="li1">
<div class="de1">ServerName hostname.example.com</div>
</li>
<li class="li1">
<div class="de1">&lt;/virtualhost&gt;</div>
</li>
</ol>
</div>
<p>
The ProxyPreserveHost directive preserves the Host HTTP header, which is passed through to the proxied server configured by the ProxyPass directive. Virtual host's configuration on server "B" is the same, which was placed originally on server "A", e.g.:
</p>
<div class="geshi no text">
<ol>
<li class="li1">
<div class="de1">&lt;virtualhost *:*&gt;</div>
</li>
<li class="li1">
<div class="de1">ServerName hostname.example.com</div>
</li>
<li class="li1">
<div class="de1">DocumentRoot /var/www/html/hostname.example.com</div>
</li>
<li class="li1">
<div class="de1">&lt;/virtualhost&gt;</div>
</li>
</ol>
</div>
<p>
References:</p>
<ul>
<li><a href="http://httpd.apache.org/docs/2.0/vhosts/examples.html#proxy" rel="nofollow">http://httpd.apache.org/docs/2.0/vhosts/examples.html#proxy</a></li>
<li><a href="http://httpd.apache.org/docs/2.0/mod/mod_proxy.html" rel="nofollow">http://httpd.apache.org/docs/2.0/mod/mod_proxy.html</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.meszaros.cz/2009/10/apache-virtual-host-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

