<?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>Parallelcoding.com &#187; IIS</title>
	<atom:link href="http://www.parallelcoding.com/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parallelcoding.com</link>
	<description></description>
	<lastBuildDate>Mon, 16 Aug 2010 11:55:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>ISAPI Rewrite 3 with WordPress</title>
		<link>http://www.parallelcoding.com/2009/05/06/isapi-rewrite-3-with-wordpress/</link>
		<comments>http://www.parallelcoding.com/2009/05/06/isapi-rewrite-3-with-wordpress/#comments</comments>
		<pubDate>Wed, 06 May 2009 18:35:25 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Rewrite]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.parallelcoding.com/?p=323</guid>
		<description><![CDATA[If you&#8217;re using these 2 tools together, you have to make small effort in order to get rewriting working properly.  Do what it says here Open wp-includes/classes.php Go to line 158. You should see something like $req_uri = $_SERVER['REQUEST_URI']; Replace that with $req_uri = $_SERVER['HTTP_X_REWRITE_URL']; You&#8217;re good to go!]]></description>
			<content:encoded><![CDATA[<div>
<p>If you&#8217;re using these 2 tools together, you have to make small effort in order to get rewriting working properly. </p>
<ol>
<li>Do what it says <a href="http://www.helicontech.com/articles/wordpress.htm">here</a></li>
<li>Open wp-includes/classes.php</li>
<li>Go to line 158. You should see something like $req_uri = $_SERVER['REQUEST_URI'];</li>
<li>Replace that with $req_uri = $_SERVER['HTTP_X_REWRITE_URL'];</li>
<li>You&#8217;re good to go!</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.parallelcoding.com/2009/05/06/isapi-rewrite-3-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal, Clean URLs, IIS, and ISAPI Rewrite</title>
		<link>http://www.parallelcoding.com/2009/02/26/drupal-clean-urls-iis-and-isapi-rewrite/</link>
		<comments>http://www.parallelcoding.com/2009/02/26/drupal-clean-urls-iis-and-isapi-rewrite/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 14:43:48 +0000</pubDate>
		<dc:creator>manatarms</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Clean URL]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[ISAPI]]></category>

		<guid isPermaLink="false">http://www.parallelcoding.com/?p=267</guid>
		<description><![CDATA[Yesterday I had to deploy a Drupal site to a client&#8217;s server. Our development server runs Ubuntu 8.04, Apache, PHP,  and MySQL. Our client&#8217;s server runs Windows Server 2003, IIS, PHP,  and MySQL.  The goal was to perform a clean move that implemented clean URLs. Following are the steps that I followed. They are split [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I had to deploy a Drupal site to a client&#8217;s server. Our development server runs Ubuntu 8.04, Apache, PHP,  and MySQL. Our client&#8217;s server runs Windows Server 2003, IIS, PHP,  and MySQL.  The goal was to perform a clean move that implemented clean URLs. Following are the steps that I followed. They are split into two parts: Deploy and Clean URLs.  I do assume that you already have PHP and MySQL installed and working properly with IIS.</p>
<p><strong>Deploy</strong></p>
<ol>
<li>Turn off clean URLs in Drupal (Administer -&gt; Site Configuration -&gt; Clean URLs)</li>
<li>Export current site database using PhPMyAdmin.  You will most likely run into an error saying that the import file is too large for PhpMyAdmin or that there is trouble inserting the data from the cache_ tables. If this is the case, the following two steps should solve your problems:
<ul>
<li>Export all tables (including data) except for those starting with cache_</li>
<li>Export the structure of all tables starting with cache_</li>
</ul>
</li>
<li>Create the database on your new server using PhpMyAdmin</li>
<li>Import the data exported in (2)</li>
<li>Copy all of your Drupal file into your new location. Also create the virtual directory or website for this directory in IIS.</li>
<li>Adjust the database settings for Drupal in your sites/default/settings.php file</li>
<li>Everything should be working!</li>
</ol>
<p><strong>Clean URLs</strong></p>
<ol>
<li>Download and install <a title="ISAPI Rewrite 3 Lite" href="http://www.helicontech.com/download/isapi_rewrite/ISAPI_Rewrite3_0060_Lite.msi">Helicon ISAPI Rewrite 3 Lite</a></li>
<li>Open the httpd.conf file in the installation directory</li>
<li>Save httpd.conf as httpd.ini</li>
<li>Enter the following in httpd.ini<br/>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>ISAPI_Rewrite<span style="">&#93;</span></span>
RewriteEngine on
RewriteBase /
RewriteCond %<span style="">&#123;</span>REQUEST_FILENAME<span style="">&#125;</span> !-f
RewriteCond %<span style="">&#123;</span>REQUEST_FILENAME<span style="">&#125;</span> !-d
RewriteRule ^<span style="">&#40;</span>.*<span style="">&#41;</span>$ index.php?<span style="">1</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">$<span style="">1</span> <span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>L,QSA<span style="">&#93;</span></span></span></pre></td></tr></table></div>

</li>
<li> If you have Drupal installed in a sub-directory (/drupal/) change RewriteBase to /drupal/. Do remember that ISAPI Rewrite 3 Lite only supports 1 domain or site! This makes the RewriteBase very important!</li>
<li>Enable Clean URLs in Drupal (Administer -&gt; Site Configuration -&gt; Clean URLs)</li>
<li>Enjoy your clean URLs1</li>
</ol>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.parallelcoding.com/2009/02/26/drupal-clean-urls-iis-and-isapi-rewrite/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
