<?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; Windows</title>
	<atom:link href="http://www.deanlee.cn/tag/windows/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>Moved OpenSSL for windows to google code</title>
		<link>http://www.deanlee.cn/programming/moved-openssl-for-windows-to-google-code/</link>
		<comments>http://www.deanlee.cn/programming/moved-openssl-for-windows-to-google-code/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 12:14:03 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[Programming]]></category>

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

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

		<guid isPermaLink="false">http://www.deanlee.cn/programming/moved-openssl-for-windows-to-google-code-2/</guid>
		<description><![CDATA[Due to the bandwidth limitation and the lack of issue tracking system,I have moved OpenSSL for windows to google code: http://code.google.com/p/openssl-for-windows/
if you have any questions/issues,please submit an issue at http://code.google.com/p/openssl-for-windows/issues/list
]]></description>
			<content:encoded><![CDATA[<p>Due to the bandwidth limitation and the lack of issue tracking system,I have moved <a target="_blank" href="http://www.deanlee.cn/programming/openssl-for-windows/">OpenSSL for windows</a> to google code: <a href="http://code.google.com/p/openssl-for-windows/" title="http://code.google.com/p/openssl-for-windows/" class="external">http://code.google.com/p/openssl-for-windows/</a></p>
<p>if you have any questions/issues,please submit an issue at <a href="http://code.google.com/p/openssl-for-windows/issues/list" title="http://code.google.com/p/openssl-for-windows/issues/list" class="external">http://code.google.com/p/openssl-for-windows/issues/list</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/programming/moved-openssl-for-windows-to-google-code/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>Windows Live Space says:&#34;Server is too busy&#34;</title>
		<link>http://www.deanlee.cn/windows/windows-live-space-says-server-is-too-busy/</link>
		<comments>http://www.deanlee.cn/windows/windows-live-space-says-server-is-too-busy/#comments</comments>
		<pubDate>Thu, 30 Aug 2007 16:41:55 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[Windows]]></category>

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

		<guid isPermaLink="false">http://www.deanlee.cn/technology/msn-space-saysserver-is-too-busy/</guid>
		<description><![CDATA[What the hell is going on?Too many users or bad design?I would rather believe it&#8217;s the first case. because there are ton of amazing articles written by&#160;Microsoft about Scalability and Availability,such as &#8220;Scalability, Sweet Scalability&#8221; or &#8220;Improving Both Availability and Scalability&#8220;. they can\&#8217;t possibly have made an incredibly dumb mistake.
I don\&#8217;t know what happened and [...]]]></description>
			<content:encoded><![CDATA[<p>What the hell is going on?Too many users or bad design?I would rather believe it&#8217;s the first case. because there are ton of amazing articles written by&nbsp;Microsoft about <strong>Scalability</strong> and <strong>Availability</strong>,such as &#8220;<a href="http://msdn2.microsoft.com/en-us/library/ms810285.aspx" target="_blank">Scalability, Sweet Scalability</a>&#8221; or &#8220;<a href="http://technet.microsoft.com/en-us/library/ms151244.aspx" target="_blank">Improving Both Availability and Scalability</a>&#8220;. they can\&#8217;t possibly have made an incredibly dumb mistake.</p>
<p>I don\&#8217;t know what happened and I don\&#8217;t want to know.I only know that I even can\&#8217;t leave a comment to my friends who&nbsp;have written on&nbsp;Windows Live Space&nbsp;till now.</p>
<p><a href="http://www.deanlee.cn/wp-content/uploads/2007/08/msn-space-busy.png" atomicselection="true" rel="lightbox"><img height="326" alt="msn_space_busy" src="http://www.deanlee.cn/wp-content/uploads/2007/08/msn-space-busy-thumb.png" width="389"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/windows/windows-live-space-says-server-is-too-busy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Compiler warning C4022 when building OpenSSL 0.9.8e On Windows</title>
		<link>http://www.deanlee.cn/windows/compiler-warning-c4022-when-building-openssl-098e-on-windows/</link>
		<comments>http://www.deanlee.cn/windows/compiler-warning-c4022-when-building-openssl-098e-on-windows/#comments</comments>
		<pubDate>Sat, 25 Aug 2007 10:46:15 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[Programming]]></category>

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

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

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

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

		<guid isPermaLink="false">http://www.deanlee.cn/windows/compile-errorc4022-when-trying-to-build-openssl-098e-on-windows/</guid>
		<description><![CDATA[I got the following compiler error&#160;when building OpenSSL-0.9.8e in Windows environments with Visual studio 2005:
.\apps\enc.c(380) : error C2220: warning treated as error - no &#8216;object&#8217; file generated
.\apps\enc.c(380) : warning C4022: &#8216;BIO_ctrl&#8217; : pointer mismatch for actual parameter 4
Here is the quick fix to solve this compile error:
Open file .\apps\enc.c,Go to line 380:
if (BIO_read_filename(in,inf ]]></description>
			<content:encoded><![CDATA[<p>I got the following compiler error&nbsp;when building <a href="http://www.openssl.org/" target="_blank">OpenSSL-0.9.8e</a> in Windows environments with Visual studio 2005:</p>
<p>.\apps\enc.c(380) : error C2220: warning treated as error - no &#8216;object&#8217; file generated<br />
.\apps\enc.c(380) : warning C4022: &#8216;BIO_ctrl&#8217; : pointer mismatch for actual parameter 4</p>
<p>Here is the quick fix to solve this compile error:</p>
<p>Open file .\apps\enc.c,Go to line 380:</p>
<pre class="prettyprint">if (BIO_read_filename(in,inf <= 0))
{
	perror(inf);
	goto end;
}</pre>
<p>&nbsp;Change it to</p>
<pre class="prettyprint">if (BIO_read_filename(in,(char*)(inf <= 0)))
{
	perror(inf);
	goto end;
}</pre>
<p>you can download the compiled binary <a href="http://www.deanlee.cn/programming/openssl-for-windows/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/windows/compiler-warning-c4022-when-building-openssl-098e-on-windows/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Download OpenSSL for windows</title>
		<link>http://www.deanlee.cn/programming/openssl-for-windows/</link>
		<comments>http://www.deanlee.cn/programming/openssl-for-windows/#comments</comments>
		<pubDate>Tue, 03 Oct 2006 08:25:04 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
		
		<category><![CDATA[Programming]]></category>

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://deanlee.cn/2006/10/03/openssl-for-windows/</guid>
		<description><![CDATA[openssl-for-windows,host on google code,is an clean and lightweight OpenSSL library for windows(both 32bit and x64 version).
all versions are compiled in the assembly language routines with Microsoft Visual Studio 2005 and Microsoft MASM as “Multithreaded(/MT)”,you can using it with any version of MSVC.
Download openssl for windows
files included in this library are listed below:    [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://code.google.com/p/openssl-for-windows/" target="_blank">openssl-for-windows</a>,host on google code,is an clean and lightweight OpenSSL library for windows(both 32bit and x64 version).</p>
<p>all versions are compiled in the assembly language routines with Microsoft Visual Studio 2005 and Microsoft MASM as “Multithreaded(/MT)”,you can using it with any version of MSVC.</p>
<p class="download"><a href="http://code.google.com/p/openssl-for-windows/downloads/list" title="Download openssl for windows">Download openssl for windows</a></p>
<p>files included in this library are listed below:    <br /><img height="69" alt="" src="http://www.deanlee.cn/wp-content/uploads/2006/10/WindowsLiveWriter/OpenSSLforwindows_E6D7/ssldir3.gif" width="97" /></p>
<p><font color="#008000">|bin (libeay32.dll, ssleay32.dll,openssl.exe)      <br />|include       <br />|&#8211; &#8212; openssl&#160; (openssl head files)       <br />|lib (</font><font color="#008000">libeay32.lib,ssleay32.lib)</font></p>
<p>if you find it useful, a time saver,or even just mildly interesting,then my effort was worth it.    <br />if you have any suggestions on how to improve it, I&#8217;d love to hear it.</p>
<p>link to this page: <a title="http://www.deanlee.cn/programming/openssl-for-windows/" href="http://www.deanlee.cn/programming/openssl-for-windows/">http://www.deanlee.cn/programming/openssl-for-windows/</a></p>
<p>Enjoy:)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/programming/openssl-for-windows/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

