<?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"
	>

<channel>
	<title>DEAN LEE:/DEV/BLOG &#187; IIS</title>
	<atom:link href="http://www.deanlee.cn/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deanlee.cn</link>
	<description>mount /dev/brain &#124;&#124; tail -f /var/log/thoughts &#62;&#62; /pub/www</description>
	<pubDate>Fri, 30 Dec 2011 13:27:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
	<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>IIS Keywords Filter</title>
		<link>http://www.deanlee.cn/projects/iis-keywords-filter/</link>
		<comments>http://www.deanlee.cn/projects/iis-keywords-filter/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 16:07:49 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[projects]]></category>

		<category><![CDATA[filter]]></category>

		<category><![CDATA[IIS]]></category>

		<category><![CDATA[isapi]]></category>

		<category><![CDATA[keywords]]></category>

		<guid isPermaLink="false">http://www.deanlee.cn/projects/iis-keywords-filter/</guid>
		<description><![CDATA[IIS keywords filter is an open source ISAPI filter for both IIS 6 and IIS 7.this filter looks for certain keywords in web sites hosted on IIS,and automatically block access to pages that contain suck keywords: 
 
Download IIS Keywords Filter
IIS Keywords Filter是一个开源的IIS关键字过滤插件，可以对windows IIS主机上运行的站点进行实时监控，一旦发现某些页面存在敏感关键字，即屏蔽用户对该页面的访问。
]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/iis-keywords-filter/" target="_blank">IIS keywords filter</a> is an open source ISAPI filter for both IIS 6 and IIS 7.this filter looks for certain keywords in web sites hosted on IIS,and automatically block access to pages that contain suck keywords:<a href="http://www.deanlee.cn/wp-content/uploads/2010/01/image.png" rel="lightbox"><img style="display: inline" title="image" alt="image" src="http://www.deanlee.cn/wp-content/uploads/2010/01/image_thumb.png" width="496" height="283" /></a> </p>
<p> <span id="more-1109"></span>
<p class="download"><a href="http://iis-keywords-filter.googlecode.com/svn/trunk/%20iis-keywords-filter%20--username%20deanlee3/">Download IIS Keywords Filter</a></p>
<p>IIS Keywords Filter是一个开源的IIS关键字过滤插件，可以对windows IIS主机上运行的站点进行实时监控，一旦发现某些页面存在敏感关键字，即屏蔽用户对该页面的访问。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/projects/iis-keywords-filter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Boost your WordPress performance on Windows IIS 6 with FastCGI and eAccelerator in 5 minutes</title>
		<link>http://www.deanlee.cn/wordpress/boost-wordpress-performance-on-windows-iis/</link>
		<comments>http://www.deanlee.cn/wordpress/boost-wordpress-performance-on-windows-iis/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 20:37:27 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[eAccelerator]]></category>

		<category><![CDATA[fastcgi]]></category>

		<category><![CDATA[IIS]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.deanlee.cn/technology/boost-your-wordpress-performance-on-windows-iis-6-with-fastcgi-and-eaccelerator-in-5-minutes</guid>
		<description><![CDATA[First,download and install the FastCgi Extension for IIS 6 from microsoft.The FastCGI protocol enables PHP applications to be hosted on the IIS web server in a high-performance and reliable way.FastCGI re-uses CGI processes for multiple requests, which provides a significant performance boost as compared to CGI.
Once FastCgi is installed,Config FastCGI extension to work with php:

Open [...]]]></description>
			<content:encoded><![CDATA[<p>First,download and install the <a target="_blank" href="http://www.microsoft.com/DownLoads/details.aspx?FamilyID=2d481579-9a7c-4632-b6e6-dee9097f9dc5&amp;displaylang=en">FastCgi Extension for IIS 6</a> from microsoft.The FastCGI protocol enables PHP applications to be hosted on the IIS web server in a high-performance and reliable way.FastCGI re-uses CGI processes for multiple requests, which provides a significant performance boost as compared to CGI.</p>
<p>Once FastCgi is installed,Config FastCGI extension to work with php:</p>
<ol>
<li>Open a command line window,and change the current directory&nbsp; to %WINDIR%\system32\inetsrv.</li>
<li>Run      <br />
    cscript fcgiconfig.js -add -section:&quot;PHP&quot; -extension:php -path:&quot;C:\PHP\php-cgi.exe&quot;       <br />
    to register the PHP CGI program as the one that will be processing .php extensions.</li>
<li>Modify fcigext.ini file in %WINDIR%\system32\inetsrv as the following (assuming you installed PHP to C:\PHP folder):<br />
<blockquote style="margin-right: 0px;" dir="ltr">[Types]        <br />
    php=PHP</p>
<p>[PHP]          <br />
    ExePath=c:\php\php-cgi.exe</p>
</blockquote>
</li>
</ol>
<p>Next,download and install <a target="_blank" href="http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds">eAccelerator</a>.eAccelerator is a free open-source PHP accelerator, optimizer, and dynamic content cache. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.</p>
<p>After eAccelerator is downloaded:</p>
<ol>
<li>Copy eaccelerator.dll to your php extensions folder to c:\php\extensions.(assuming you installed PHP to C:\PHP folder)</li>
<li>Create a folder (with the appropriate permissions) for the temporary cached files.      <br />
    For example: c:\tmp\eaccelerator</li>
<li>Add the following to your php.ini (as the first loaded extension):<br />
<blockquote>
<p>extension=eAccelerator.dll          <br />
    eaccelerator.shm_size=&quot;128&quot;           <br />
    eaccelerator.cache_dir=&quot;c:\tmp\eaccelerator&quot;           <br />
    eaccelerator.enable=&quot;1&quot;           <br />
    eaccelerator.optimizer=&quot;1&quot;           <br />
    eaccelerator.check_mtime=&quot;1&quot;           <br />
    eaccelerator.filter=&quot;&quot;           <br />
    eaccelerator.shm_max=&quot;0&quot;           <br />
    eaccelerator.shm_ttl=&quot;0&quot;           <br />
    eaccelerator.shm_prune_period=&quot;0&quot;&nbsp; <br />
    eaccelerator.shm_only=&quot;0&quot;           <br />
    eaccelerator.compress=&quot;1&quot;           <br />
    eaccelerator.compress_level=&quot;9&quot;           <br />
    eaccelerator.keys = &quot;shm&quot;           <br />
    eaccelerator.sessions = &quot;shm&quot;           <br />
    eaccelerator.content = &quot;shm&quot;</p>
</blockquote>
</li>
</ol>
<p>That&rsquo;s all,restart your IIS and you&rsquo;ll get a faster Wordpress on windows IIS 6 with highly boosted performance.</p>
<p>Because IIS does not support mod_rewrite module for rewriting URLs,the biggest problem hosting wordpress on iis is that you always get an &lsquo;ugly&rsquo; and not SEO-friendly index.php in your permalinks.you can install <a target="_blank" href="http://code.google.com/p/wp-url-rewriting-on-iis/">wp_url_rewriting</a>,an open source URL rewriting for wordpress, to resolve this issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/wordpress/boost-wordpress-performance-on-windows-iis/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress 2.5 Error on Windows IIS:Undefined index: PATH_INFO</title>
		<link>http://www.deanlee.cn/wordpress/wordpress-25-error-on-windows-iis-undefined-index-path_info/</link>
		<comments>http://www.deanlee.cn/wordpress/wordpress-25-error-on-windows-iis-undefined-index-path_info/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 04:11:37 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[error]]></category>

		<category><![CDATA[IIS]]></category>

		<category><![CDATA[PATH_INFO]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.deanlee.cn/windows/wordpress-25-error-on-windows-iisundefined-index-path_info-3/</guid>
		<description><![CDATA[After upgrading to WordPress version 2.5 on Windows IIS,you may get the following errors:

Notice: Undefined index: PATH_INFO in (path)\wp-settings.php on line 74
Notice: Undefined index: PATH_INFO in (path)\wp-settings.php on line 77 
to solve this problem,open file wp-settings.php,goto line 71 and replace the following code:

if ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] )
	$_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO'];
else
	$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO'];
with:

if (empty($_SERVER['PATH_INFO']))
	$_SERVER['REQUEST_URI'] [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading to WordPress version 2.5 on Windows IIS,you may get the following errors:</p>
<pre>
Notice: Undefined index: PATH_INFO in (path)\wp-settings.php on line 74
Notice: Undefined index: PATH_INFO in (path)\wp-settings.php on line 77 </pre>
<p>to solve this problem,open file wp-settings.php,goto line 71 and replace the following code:</p>
<pre class="prettyprint">
if ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] )
	$_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO'];
else
	$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO'];</pre>
<p>with:</p>
<pre class="prettyprint">
if (empty($_SERVER['PATH_INFO']))
	$_SERVER['REQUEST_URI'] = substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')) . '/';
else if ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] )
	$_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO'];
else
	$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO'];</pre>
<p>this will resolve that issue,Your can also download an already modified version of wp-setting.php <a href="http://www.deanlee.cn/downloads/wp-settings.zip">from here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/wordpress/wordpress-25-error-on-windows-iis-undefined-index-path_info/feed/</wfw:commentRss>
		</item>
		<item>
		<title>wp_url_rewriting:URL Rewriting for WordPress under IIS (V 2.1)</title>
		<link>http://www.deanlee.cn/wordpress/url-rewriting-for-wordpress-under-iis/</link>
		<comments>http://www.deanlee.cn/wordpress/url-rewriting-for-wordpress-under-iis/#comments</comments>
		<pubDate>Sat, 02 Sep 2006 09:00:39 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[wordpress]]></category>

		<category><![CDATA[IIS]]></category>

		<category><![CDATA[isapi-filter]]></category>

		<category><![CDATA[mod_rewrite]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[seo]]></category>

		<category><![CDATA[url-rewriting]]></category>

		<category><![CDATA[windows-server]]></category>

		<guid isPermaLink="false">http://www.deanlee.cn/2006/09/02/url-rewriting-for-wordpress-under-iis/</guid>
		<description><![CDATA[This ISAPI filter removes the index.php from WordPress permalinks on Windows IIS,making your permalinks more pretty and SEO friendly.
Because IIS does not support mod_rewrite module for rewriting URLs, if you are running WordPress on Windows IIS,whenever you try to use Permalinks, you always get something like this:
http://www.yourdomain.com/index.php/2006/09/02/&#8230;../
this ISAPI filter can remove ugly &#34;index.php&#34; from the [...]]]></description>
			<content:encoded><![CDATA[<p>This ISAPI filter removes the index.php from <a href="http://www.wordpress.org" target="_blank">WordPress</a> permalinks on Windows IIS,making your permalinks more pretty and SEO friendly.</p>
<p>Because IIS does not support mod_rewrite module for rewriting URLs, if you are running WordPress on Windows IIS,whenever you try to use Permalinks, you always get something like this:</p>
<p>http://www.yourdomain.com/<strong>index.php</strong>/2006/09/02/&#8230;../</p>
<p>this ISAPI filter can remove ugly &quot;index.php&quot; from the URL automatically.it&#8217;s easy to use,just install it and no further configuration is necessary.</p>
<p class="download"><a title="download wp_url_rewriting" href="http://code.google.com/p/wp-url-rewriting-on-iis/downloads/list" target="_blank">download wp_url_rewriting</a></p>
<p><strong>Key benefits:</strong></p>
<ul>
<li>Speed.<br />
    <br />this URL Rewriting engine is writing in C++,because it&#8217;s designed dedicated for WordPress,so the program&#8217;s logic is very simple and no regular expression is used.it&#8217;s extremely faster than other rewriting engines on the IIS platform. </li>
<li>Support Multiple WordPress sites on one server. </li>
<li>No configuration is needed<br />
    <br />This URL Rewriting engine will automatically detect all WordPress sites on your server,and generate URL rewriting rules for each of them. </li>
</ul>
<p><strong>Living Demo</strong></p>
<p>You can take my site as a living demo, navigate through my sites,watch the &#8216;pretty&#8217; address in the browser.</p>
<p><strong>Limitation</strong></p>
<p>You must have administrator privileges on the target server in order to install this plugin.</p>
<p><strong>Installation</strong></p>
<p>1). Copy <strong>wp-url-rewriting.dll</strong> to the target machine and register it as an ISAPI filter using IIS MMC snap-in. wp-url-rewriting.dll can be registered at either the site level or the global level.Note:if WordPress is not installed in the root directory of your site,you should setup it as a virtual directory.</p>
<p>2). after register,Login to your WordPress admin panel-&gt;options-&gt;Permalinks,make sure you have removed the index.php from your permalink structure.</p>
<p>3). Do a little hack to WordPress file &#8216;link-template.php&#8217; to make paging works well for categories:(<strong><font color="#ff0000">NOTE: You don&#8217;t need to do this step if you are using WordPress 2.3.0 or newer</font></strong>)</p>
<p>open file /wp-includes/link-template.php and find the following code:</p>
<pre class="prettyprint">function get_pagenum_link($pagenum = 1) {

 global $wp_rewrite;

 $qstr = $_SERVER['REQUEST_URI'];

 $page_querystring = "paged";

 ...

}</pre>
<p>
  <br />Replace it with: </p>
<p></p>
<pre class="prettyprint">function get_pagenum_link($pagenum = 1) {

 global $wp_rewrite;

 $qstr = $_SERVER['PATH_INFO'];

 $page_querystring = "paged";

 ...

}</pre>
<p><strong>Revision History</strong></p>
<ul>
<li>version 2.1 -2007-8-29
<ul>
<li>Fixed a bug that may cause rewriting failed if there are many blogs under a single site. </li>
</ul>
</li>
<li>version 2.0 -2007-8-17
<ul>
<li>no configuration file needed.This version automatically generate URL rewriting rules for each WordPress sites on the same server. </li>
<li>Support multiple WordPress sites on the same server.you can install this filter at the global level to support multiple WordPress sites on your server. </li>
</ul>
</li>
<li>version 1.1 - 2006-11-1
<ul>
<li>optimize algorithm. </li>
<li>exclude directories : wp-admin,wp-content from the url rewriting rules. </li>
</ul>
</li>
<li>version 1.0 - 2006-9-2
<ul>
<li>Initial Version </li>
</ul>
</li>
</ul>
<p>this ISAPI filter has been build with /MT switch(multithread, static CRT) ,if you failed to load this plugin,<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=32BC1BEE-A3F9-4C13-9C99-220B62A191EE">download vcredist_x86.exe from microsoft</a>,run it on the target computer,this installs all Visual C++ libraries as shared assemblies.</p>
<p><font size="-1">Please <font color="#ff0000">feel free to report</font> any bugs.</font></p>
<p><font size="-1">This project is licensed under </font><a href="http://www.gnu.org/licenses/gpl.html" rel="nofollow">GNU General Public License 2.0. </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/wordpress/url-rewriting-for-wordpress-under-iis/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

