<?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>blog.forret.com &#187; windows</title>
	<atom:link href="http://blog.forret.com/categories/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.forret.com</link>
	<description>and I mean it</description>
	<lastBuildDate>Tue, 17 Nov 2009 19:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Stuff to install on a new Windows PC</title>
		<link>http://blog.forret.com/2008/09/stuff-to-install-on-a-new-windows-pc/</link>
		<comments>http://blog.forret.com/2008/09/stuff-to-install-on-a-new-windows-pc/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 15:52:45 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[tool]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[essential]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[reformat]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.forret.com/?p=1094</guid>
		<description><![CDATA[That is, the stuff I install on a new Windows PC. Since I need this list several times a year, why not make a blog post of it. As you will see,I have a more than average interest in video (conversion) and sysadmin (SSH/FTP). The links typically go straight to the download page.
Audio/video

iTunes (+Quicktime): excellent [...]


Related posts:<ol><li><a href='http://blog.forret.com/2004/06/port-redirection-in-windows/' rel='bookmark' title='Permanent Link: Port redirection in Windows'>Port redirection in Windows</a> <small>We use port redirection/proxy often on our platforms. In the...</small></li><li><a href='http://blog.forret.com/2006/07/from-xp-to-vista-back-to-xp/' rel='bookmark' title='Permanent Link: From XP to Vista back to XP'>From XP to Vista back to XP</a> <small>I finally got too fed up working with a crippled...</small></li><li><a href='http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/' rel='bookmark' title='Permanent Link: Fix by disabling: error 1016 in event log'>Fix by disabling: error 1016 in event log</a> <small>Due to one of life&#8217;s mysteries, the following error shows...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>That is, the stuff I install on a new Windows PC. Since I need this list several times a year, why not make a blog post of it. As you will see,I have a more than average interest in video (conversion) and sysadmin (SSH/FTP). The links typically go straight to the download page.</p>
<p><strong>Audio/video</strong></p>
<ul>
<li><a href="http://www.apple.com/itunes/download/">iTunes</a> (+Quicktime): excellent music manager and it rips to MP3 really fast</li>
<li><a href="http://www.cdburnerxp.se/">CDBurnerXP</a>: for burning CDs, DVDs, ISO files</li>
<li><a href="http://www.irfanview.com/main_download_engl.htm">Irfanview</a>: image viewer, editor and converter &#8211; for people who think Photoshop is overkill</li>
<li><a href="http://picasa.google.com/">Picasa</a>: photograph workflow &amp; archive manager (from Google)</li>
<li><a href="http://www.videolan.org/vlc/download-windows.html">VLC Player</a>: ultimate video player, very complete set of codecs</li>
<li><a href="http://sourceforge.net/project/showfiles.php?group_id=205275&amp;package_id=248632">ffmpeg</a> with a GUI like <a href="http://teejee2008.wordpress.com/category/my-freewares/gvc-my-freewares/">GVC</a>: video conversion: AVI, MOV, MPG, MP4, &#8230;</li>
<li><a href="http://handbrake.fr/?article=download">Handbrake</a>: will make a good MPEG4 of any DVD in one go</li>
</ul>
<p><strong>Internet</strong></p>
<ul>
<li><a href="http://www.skype.com/intl/en/download/">Skype</a>: for chat, phonecalls and SMSes with people far away</li>
<li><a href="http://www.google.com/chrome">Chrome</a>, <a href="http://www.mozilla.com/en-US/firefox/all.html">Firefox</a> or <a href="http://www.opera.com/download/">Opera</a> browser &#8211; personally I like Firefox less. Opera is solid and fast, Google Chrome is an interesting new kid on the block.</li>
<li><a href="http://filezilla-project.org/download.php?type=client">FileZilla</a>: FTP client</li>
<li><a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">Putty</a>: SSH and telnet terminal</li>
<li><a href="http://www.editplus.com/download.html">EditPlus</a>: customisable editor for text, HTML, CMD &#8230; that also works over FTP</li>
<li><a href="http://www.utorrent.com/">uTorrent</a>: because sometimes you need to &#8230; get stuff, you know</li>
</ul>
<p><strong>Tools</strong></p>
<ul>
<li><a href="http://pack.google.com/">Google Pack</a>: contains Picasa, Skype, Google Toolbar and a whole bunch of other useful programs</li>
<li><a href="http://www.adobe.com/products/acrobat/readstep2.html">Adobe PDF</a> reader: for reading PDF documents, and everything is in PDF these days</li>
<li><a href="http://www.7-zip.org/download.html">7-Zip</a>: compression/expansion of ZIP, RAR and 7z archives</li>
<li><a href="http://www.cutepdf.com/Products/CutePDF/writer.asp">CutePDF</a> with GhostScript: printing to a PDF file (also allows converting a PostScript PS/EPS file to PDF)</li>
<li><a href="http://unxutils.sourceforge.net/">UnixUtils</a>: I&#8217;m a sucker for GAWK and WGET</li>
<li><a href="http://www.nokia.co.uk/A4630249">Nokia PCSuite</a>: for synchro with my Nokia N91 (yes, it&#8217;s still my phone!)</li>
<li><a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP</a>: for developing with Apache/PERL/PHP/MySQL on Windows</li>
</ul>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2004/06/port-redirection-in-windows/' rel='bookmark' title='Permanent Link: Port redirection in Windows'>Port redirection in Windows</a> <small>We use port redirection/proxy often on our platforms. In the...</small></li><li><a href='http://blog.forret.com/2006/07/from-xp-to-vista-back-to-xp/' rel='bookmark' title='Permanent Link: From XP to Vista back to XP'>From XP to Vista back to XP</a> <small>I finally got too fed up working with a crippled...</small></li><li><a href='http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/' rel='bookmark' title='Permanent Link: Fix by disabling: error 1016 in event log'>Fix by disabling: error 1016 in event log</a> <small>Due to one of life&#8217;s mysteries, the following error shows...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2008/09/stuff-to-install-on-a-new-windows-pc/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>From XP to Vista back to XP</title>
		<link>http://blog.forret.com/2006/07/from-xp-to-vista-back-to-xp/</link>
		<comments>http://blog.forret.com/2006/07/from-xp-to-vista-back-to-xp/#comments</comments>
		<pubDate>Mon, 17 Jul 2006 11:15:11 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.forret.com/2006/07/from-xp-to-vista-back-to-xp/</guid>
		<description><![CDATA[I finally got too fed up working with a crippled PC and installed the Windows Vista Beta 2 on my laptop. It looks really nice, although slightly slow. I connected my camera and, lo and behold, the Picture import works flawlessly, creating a separate folder per session, the Vista Photo browser and editor remind me [...]


Related posts:<ol><li><a href='http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/' rel='bookmark' title='Permanent Link: Fix by disabling: error 1016 in event log'>Fix by disabling: error 1016 in event log</a> <small>Due to one of life&#8217;s mysteries, the following error shows...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I finally got too fed up working with <a href="http://blog.forret.com/2006/06/murphy-forret-1-0/">a crippled PC</a> and installed the Windows Vista Beta 2 on my laptop. It looks really nice, although slightly slow. I connected my camera and, lo and behold, the Picture import works flawlessly, creating a separate folder per session, the Vista Photo browser and editor remind me a lot of Google&#8217;s Picasa. Internet Explorer 7 has tabbed browsing at last, and seemed quite stable and robust. In all, I was quite happy to have a working system again.<br />
<a href="http://www.flickr.com/photos/pforret/187947588/" title="Photo Sharing"><img src="http://static.flickr.com/59/187947588_8f2b1a1e42.jpg" width="500" height="212" alt="vista performance: I'm a '2'" /></a><br />
<span id="more-382"></span><br />
But then I connected my iPod nano. The drivers loaded automatically so that felt normal. But ever since, my IE hasn&#8217;t worked anymore. It starts up, takes 100% CPU and does nothing useful. Every time I connect my camera, the Windows Explorer crashes. I can manually start up the Picture importer, sure, but for a system with almost no applications installed, that feels wrong. I get warnings saying applications and/or drivers crash, and that might be fixed in the next &#8216;Customer Release&#8217;.</p>
<p>My patience with poorly working computers being at an all-time low, I just popped in the Acer recovery system, and am installing Windows XP again. I&#8217;ll gladly try Vista once it&#8217;s out of beta, and when I have a more powerful system. For now, I need a dependable laptop.</p>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/' rel='bookmark' title='Permanent Link: Fix by disabling: error 1016 in event log'>Fix by disabling: error 1016 in event log</a> <small>Due to one of life&#8217;s mysteries, the following error shows...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2006/07/from-xp-to-vista-back-to-xp/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IVI: Internet voor Iedereen</title>
		<link>http://blog.forret.com/2006/04/ivi-internet-voor-iedereen/</link>
		<comments>http://blog.forret.com/2006/04/ivi-internet-voor-iedereen/#comments</comments>
		<pubDate>Wed, 12 Apr 2006 15:43:52 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[Belgium]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.forret.com/2006/04/ivi-internet-voor-iedereen/</guid>
		<description><![CDATA[If your (Belgian) parents or grand-parents want to buy a cheap PC to get started on the Web, tell them to hold back for a couple more days. The Federal Government &#8211; through FEDICT &#8211; has set up a program to sponsor a complete package of PC + software + broadband + training for a [...]


Related posts:<ol><li><a href='http://blog.forret.com/2006/03/digital-cinema-movie-distribution/' rel='bookmark' title='Permanent Link: Digital cinema: movie distribution'>Digital cinema: movie distribution</a> <small>I wrote about digital cinema earlier. I want to focus...</small></li><li><a href='http://blog.forret.com/2005/06/internet-activity-in-the-eu/' rel='bookmark' title='Permanent Link: Internet activity in the EU'>Internet activity in the EU</a> <small> The sport of data consolidation: I got my hands...</small></li><li><a href='http://blog.forret.com/2006/02/broadband-in-brussels/' rel='bookmark' title='Permanent Link: Broadband in Brussels'>Broadband in Brussels</a> <small>(post seems to have disappeared when I migrated to Wordpress...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/pforret/127478696/" title="Photo Sharing"><img src="http://static.flickr.com/45/127478696_e8589a2cf9_o.gif" style="float: right" width="250" height="128" alt="Internet voor iedereen" /></a>If your (Belgian) parents or grand-parents want to buy a cheap PC to get started on the Web, tell them to hold back for a couple more days. The Federal Government &#8211; through <a href="http://www.belgium.be/fedict">FEDICT</a> &#8211; has set up a program to sponsor a complete package of PC + software + broadband + training for a sharp price. The title of the project: <a href="http://www.belgium.be/eportal/application?pageid=indexPage&#038;navId=38747&#038;languageParameter=nl_BE">IVI or &#8220;Internet voor Iedereen&#8221;</a> &#8211; the launch is planned for next week, April 18th.<br />
<span id="more-302"></span><br />
<strong>THE PACKAGE</strong></p>
<dl>
<dt>Desktop minimum config</dt>
<dd>140 <a href="http://www.bapco.com/products/sysmark2004se/">Sysmark 2004 SE</a> (in practice higher than Sempron 2800+ or Celeron D335) or PowerPC G5</dd>
<dd>256 MB RAM, 80GB hard disk</dd>
<dd>CD-RW, DVD, 100Mbps Ethernet, 4 x USB2.0</dd>
<dd>15&#8243; display, BE keyboard, IVI mousemat</dd>
<dd>2 years waranty</dd>
<dt>Laptop minimum config</dt>
<dd>115 Sysmark 2004 SE or PowerPC G4</dd>
<dd>256 MB RAM, 40GB hard disk</dd>
<dd>CD-RW, DVD, 100Mbps Ethernet, 4 x USB2.0/IEEE 1394</dd>
<dd>15&#8243; display, BE keyboard, IVI mousemat</dd>
<dd>2 years waranty</dd>
<dt>Smartcard reader</dt>
<dd>Both models should include a chipcard reader that is <a href="http://www.certipost.be/en/article.php3?id_article=59">eID ready</a>.</dd>
<dt>Software installed</dt>
<dd>Operation system + browser</dd>
<dd>Some office suite (wordprocessor, spreadsheet, presentation, database)</dd>
<dd>Antivirus, anti-spam, anti-spyware, personal firewall</dd>
<dt>Broadband connection</dt>
<dd>min 512 Kbps downstream, 128 Kbps upstream, 400MB transfer/month</dd>
<dt>training</dt>
<dd>4 hours (using the office suite, browsing, emailing, &#8230;)</dd>
</dl>
<p>The price this should go for? 850 euro for the desktop config and 990 euro for the laptop, with all software/services for 1 year included. The government sponsors by paying back the VAT (21%).</p>
<p><strong>LITTLE OPEN-SOURCE</strong><br />
The government&#8217;s call for proposal allowed for commercial operating systems (Windows/MacOS) <a href="http://zdnet.be/news.cfm?id=53586&#038;p=3">as well as open-source</a> (Linux/Ubuntu). Unfortunately none of the certified partners will offer a non-Windows solution. Microsoft obviously did a <a href="http://news.zdnet.co.uk/0,39020330,39261437,00.htm">strong job selling it&#8217;s OS</a>. <a href="http://zdnet.be/news.cfm?id=54853">Partners in the consortia</a> are the obvious broadband duopoly Belgacom/Telenet, with only Mobistar as a challenger, and for the hardware Fujitsu-Siemens and Packard-Bell (no Dell?). There are also 2 smaller players: <a href="http://www.diditrade.be/">DIDI Trade (Aartselaar)</a> and <a href="http://www.shscomputer.be/">SHS Computer (Neuville-enCondroz)</a>.</p>
<p><strong>BROADBAND IN BELGIUM</strong><br />
<a href="http://www.flickr.com/photos/pforret/127367272/" title="Photo Sharing"><img src="http://static.flickr.com/45/127367272_67c603176e.jpg" width="500" height="274" alt="Broadband" /></a><br />
We&#8217;re currently number #10 worldwide in broadband penetration: 18,3 subscribers per 100 inhabitants. This promotion should allow us to maybe jump over Sweden and Canada. Iceland, here we come!</p>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2006/03/digital-cinema-movie-distribution/' rel='bookmark' title='Permanent Link: Digital cinema: movie distribution'>Digital cinema: movie distribution</a> <small>I wrote about digital cinema earlier. I want to focus...</small></li><li><a href='http://blog.forret.com/2005/06/internet-activity-in-the-eu/' rel='bookmark' title='Permanent Link: Internet activity in the EU'>Internet activity in the EU</a> <small> The sport of data consolidation: I got my hands...</small></li><li><a href='http://blog.forret.com/2006/02/broadband-in-brussels/' rel='bookmark' title='Permanent Link: Broadband in Brussels'>Broadband in Brussels</a> <small>(post seems to have disappeared when I migrated to Wordpress...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2006/04/ivi-internet-voor-iedereen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Fix by disabling: error 1016 in event log</title>
		<link>http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/</link>
		<comments>http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/#comments</comments>
		<pubDate>Mon, 21 Jun 2004 16:28:36 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://peter.smoothouse.com/2004/06/21/fix-by-disabling-error-1016-in-event-log/</guid>
		<description><![CDATA[Due to one of life&#8217;s mysteries, the following error shows up dozens of times per day in the event log of one of our web servers (Win2000/IIS):
Event ID 1016: The data buffer created for the &#8220;NTFSDRV&#8221; service in the &#8220;C:\WINNT\system32\snprfdll.DLL&#8221; library is not aligned on an 8-byte boundary. This may cause problems for applications that [...]


Related posts:<ol><li><a href='http://blog.forret.com/2004/05/no-life-without-curls/' rel='bookmark' title='Permanent Link: No life without CURLs'>No life without CURLs</a> <small>If you&#8217;re a web server administrator &#8211; as I am...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Due to one of life&#8217;s mysteries, the following error shows up dozens of times per day in the event log of one of our web servers (Win2000/IIS):</p>
<blockquote><p>Event ID 1016: The data buffer created for the &#8220;NTFSDRV&#8221; service in the &#8220;C:\WINNT\system32\snprfdll.DLL&#8221; library is not aligned on an 8-byte boundary. This may cause problems for applications that are  trying to read the performance data buffer. Contact the manufacturer of this  library or service to have this problem corrected or to get a newer version  of this library.</p></blockquote>
<p>A search on Google delivers nothing. Similar Performance Monitor problems are mentioned in </p>
<li><a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;267831">MSKB 267831</a>, but for IIS related services (ASP/W3SVC/FTP/&#8230;). The remedy cited involves unlodctr/lodctr commands in a CMD box.
</li>
<li><a href="http://support.microsoft.com/default.aspx?kbid=324712">MSKB 324712</a> and <a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;249138">MSKB 249138</a>, same error 1016 for other dll and &#8216;fix by disabling&#8217; solution.
<p>I choose for the 2nd solution: adding a value to the registry. I create a .reg file that contains</p>
<pre>Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib]
"Configuration Flags"=dword:00000001</pre>
<p>It works. That is, the warnings in the event log disappear. Have I just disconnected a fire alarm or was it innocent? Time will tell &#8230;
</li>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2004/05/no-life-without-curls/' rel='bookmark' title='Permanent Link: No life without CURLs'>No life without CURLs</a> <small>If you&#8217;re a web server administrator &#8211; as I am...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Port redirection in Windows</title>
		<link>http://blog.forret.com/2004/06/port-redirection-in-windows/</link>
		<comments>http://blog.forret.com/2004/06/port-redirection-in-windows/#comments</comments>
		<pubDate>Tue, 01 Jun 2004 23:49:17 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[tool]]></category>
		<category><![CDATA[webdev]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://peter.smoothouse.com/2004/06/01/port-redirection-in-windows/</guid>
		<description><![CDATA[We use port redirection/proxy often on our platforms. In the production setup, separate (Linux-based) servers take care of this, but for our development and testing environment, we need port redirection for Windows system. I generally use 2 command-line packages:
stunnel.org:  TCP proxy for adding or removing TLS (tunnel encryption aka SSL) from a stream

rinetd: plain [...]


Related posts:<ol><li><a href='http://blog.forret.com/2004/04/fancy-redirection-on-iis-5/' rel='bookmark' title='Permanent Link: Fancy redirection on IIS 5'>Fancy redirection on IIS 5</a> <small>The task seemed easy enough: set up a new web...</small></li><li><a href='http://blog.forret.com/2004/05/no-life-without-curls/' rel='bookmark' title='Permanent Link: No life without CURLs'>No life without CURLs</a> <small>If you&#8217;re a web server administrator &#8211; as I am...</small></li><li><a href='http://blog.forret.com/2008/09/stuff-to-install-on-a-new-windows-pc/' rel='bookmark' title='Permanent Link: Stuff to install on a new Windows PC'>Stuff to install on a new Windows PC</a> <small>That is, the stuff I install on a new Windows...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>We use port redirection/proxy often on our platforms. In the production setup, separate (Linux-based) servers take care of this, but for our development and testing environment, we need port redirection for Windows system. I generally use 2 command-line packages:</p>
<li><a href="http://www.stunnel.org/">stunnel.org</a>:  TCP proxy for adding or removing TLS (tunnel encryption aka SSL) from a stream
</li>
<li><a href="http://www.boutell.com/rinetd/">rinetd</a>: plain TCP proxy for that accepts TCP connections and just transfers them to another TCP/IP address/port
<p>Typical use of <i>stunnel</i>:
</li>
<li>adding TLS to a non-secure <strong>server</strong> (you will need a server certificate for this), HTTP to HTTPS, SMTP to SMTPS, POP3 to POP3S, FTP to FTPS, &#8230; <code>stunnel -d smtps -r localhost:smtp</code>
</li>
<li>adding TLS to a non-secure <strong>client</strong>, e.g. a mail client without SMTPS
</li>
<li>tunnel an existing non-TLS capable protocol through a TLS tunnel (e.g. DNS)
<p>Typical use of <i>rinetd</i>:
</li>
<li>transfer a site on port 8080 to another IP address on port 80, to get rid of <code>server:8080</code> side effects
</li>
<li>transfer a port 88 to port 80, so you can have different Network Load Balancing policies on both ports, while they both run off the same site
<p><a href="http://gallery.claireforlani.com/meetjoeblack"><img src="http://gallery.claireforlani.com/albums/meetjoeblack/aah.thumb.jpg" alt="Claire Forlani" border="0"/></a><br />
<small>Meanwhile on the other screen:  <i>Claire Forlani </i>in &#8216;Meet Joe Black&#8217;. Mediocre movie, lousy acting by most of the crew, but mmmmm, that face.</small></li>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2004/04/fancy-redirection-on-iis-5/' rel='bookmark' title='Permanent Link: Fancy redirection on IIS 5'>Fancy redirection on IIS 5</a> <small>The task seemed easy enough: set up a new web...</small></li><li><a href='http://blog.forret.com/2004/05/no-life-without-curls/' rel='bookmark' title='Permanent Link: No life without CURLs'>No life without CURLs</a> <small>If you&#8217;re a web server administrator &#8211; as I am...</small></li><li><a href='http://blog.forret.com/2008/09/stuff-to-install-on-a-new-windows-pc/' rel='bookmark' title='Permanent Link: Stuff to install on a new Windows PC'>Stuff to install on a new Windows PC</a> <small>That is, the stuff I install on a new Windows...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2004/06/port-redirection-in-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Converge already! (Struggling with WLBS)</title>
		<link>http://blog.forret.com/2004/05/converge-already-struggling-with-wlbs/</link>
		<comments>http://blog.forret.com/2004/05/converge-already-struggling-with-wlbs/#comments</comments>
		<pubDate>Wed, 19 May 2004 14:11:42 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://peter.smoothouse.com/2004/05/19/converge-already-struggling-with-wlbs/</guid>
		<description><![CDATA[I hate when things don&#8217;t go my way. One server in our NLB (Network Load Balancing) cluster did not want to join the cluster anymore. When I issued a wlbs start, it tried for a couple of seconds to join the cluster, but then remained in &#8216;Converging&#8217; state. A couple of times I saw an [...]


Related posts:<ol><li><a href='http://blog.forret.com/2004/06/port-redirection-in-windows/' rel='bookmark' title='Permanent Link: Port redirection in Windows'>Port redirection in Windows</a> <small>We use port redirection/proxy often on our platforms. In the...</small></li><li><a href='http://blog.forret.com/2004/05/no-life-without-curls/' rel='bookmark' title='Permanent Link: No life without CURLs'>No life without CURLs</a> <small>If you&#8217;re a web server administrator &#8211; as I am...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>I hate when things don&#8217;t go my way. One server in our NLB (Network Load Balancing) cluster did not want to join the cluster anymore. When I issued a <code>wlbs start</code>, it tried for a couple of seconds to join the cluster, but then remained in &#8216;Converging&#8217; state. A couple of times I saw an entry in the System Log <code>" ... does not have the same number or type of port rules ..."</code>.</p>
<p>I tried:
<ul>
<li>Reboot: worked 1st time, but after that: did not help</li>
<li>Compare rules 1: compared output of <code>wlbs display</code>: changed all load parameters to &#8216;Equal&#8217; (I normally give the servers weights that take into account the # of processors and #MB RAM)</li>
<li>Compare rules 2: compared output of <code>wlbs display</code>: identical</li>
<li>Compare rules 3: compared output of <code>regedit -e wlbs.reg.%COMPUTERNAME%.reg HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WLBS</code>: no significant differences</li>
<li>Recreate rules 1: recreate all 18 port rules on rogue server (so much fun :-/ ): did not help</li>
<li>Recreate rules 2: change ALL servers to use only 1 rule: did not help</li>
<li>Curse: did not help</li>
<li>Restart service: disable NLB on network adapter, press OK, re-enable NLB =&gt; <b>Bingo!</b> Server back in the cluster without a blink.</li>
</ul>
<p>Now I <i>only</i> have to re-create the 18 rules on all servers and I&#8217;m done! </p>
<p><i>Mental note to self</i>: check out if I can build a dedicated load balancing device in Linux, one that (1) takes into account server load (give work to least busy server) (2) response time on individual ports (and automatically disable non-responsive ports) (3) has a web interface, so I can configure from any server in the subnet.</p>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2004/06/port-redirection-in-windows/' rel='bookmark' title='Permanent Link: Port redirection in Windows'>Port redirection in Windows</a> <small>We use port redirection/proxy often on our platforms. In the...</small></li><li><a href='http://blog.forret.com/2004/05/no-life-without-curls/' rel='bookmark' title='Permanent Link: No life without CURLs'>No life without CURLs</a> <small>If you&#8217;re a web server administrator &#8211; as I am...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2004/05/converge-already-struggling-with-wlbs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No life without CURLs</title>
		<link>http://blog.forret.com/2004/05/no-life-without-curls/</link>
		<comments>http://blog.forret.com/2004/05/no-life-without-curls/#comments</comments>
		<pubDate>Mon, 03 May 2004 13:10:23 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://peter.smoothouse.com/2004/05/03/no-life-without-curls/</guid>
		<description><![CDATA[If you&#8217;re a web server administrator &#8211; as I am &#8211; every now and then, someone yells at you &#8220;The site is down, fix it!&#8221;.
A tool you should always keep handy is CURL. It&#8217;s a command-line web client (multi-platform &#8211; I use it on Win2K), that allows you to see the conversation between a web [...]


Related posts:<ol><li><a href='http://blog.forret.com/2004/06/port-redirection-in-windows/' rel='bookmark' title='Permanent Link: Port redirection in Windows'>Port redirection in Windows</a> <small>We use port redirection/proxy often on our platforms. In the...</small></li><li><a href='http://blog.forret.com/2004/04/fancy-redirection-on-iis-5/' rel='bookmark' title='Permanent Link: Fancy redirection on IIS 5'>Fancy redirection on IIS 5</a> <small>The task seemed easy enough: set up a new web...</small></li><li><a href='http://blog.forret.com/2006/07/from-xp-to-vista-back-to-xp/' rel='bookmark' title='Permanent Link: From XP to Vista back to XP'>From XP to Vista back to XP</a> <small>I finally got too fed up working with a crippled...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re a web server administrator &#8211; as I am &#8211; every now and then, someone yells at you <i>&#8220;The site is down, fix it!&#8221;</i>.<br />
A tool you should always keep handy is <a href="http://curl.haxx.se">CURL</a>. It&#8217;s a command-line web client (multi-platform &#8211; I use it on Win2K), that allows you to see the conversation between a web server and a client (like e.g. your browser).<br />
Let&#8217;s say if you check out a page like this: <code>curl -I http://someserver.com/whatever</code>, you could get</p>
<ul>
<li><code>curl: (6) Couldn't resolve host someserver.com'</code><br />
&nbsp;&nbsp;&nbsp;can you CURL www.google.com? =&gt; you&#8217;re using a wrong domain name (DNS record does not exist)<br />
&nbsp;&nbsp;&nbsp;you can&#8217;t CURL anything =&gt; your DNS settings are wrong, or your DNS server does not work as expected
</li>
<li><code>curl: (7) Connect failed</code><br />
&nbsp;&nbsp;&nbsp;there is no web server answering on that port<br />
&nbsp;&nbsp;&nbsp;=&gt; is the server down? does site run on other port? does a restart help?
</li>
<li><code>HTTP/1.1 401 Access Denied  [WWW-Authenticate: Basic realm="someserver.com"]</code><br />
&nbsp;&nbsp;&nbsp;you have to log in to this page &#8211; your browser would pop up a username/password screen
</li>
<li><code>HTTP/1.1 403 Access Forbidden</code><br />
&nbsp;&nbsp;&nbsp;there is no &#8216;default&#8217; document in the folder you are requesting<br />
&nbsp;&nbsp;&nbsp;=&gt; option 1: there should be a document index.html, default.htm, &#8230; in each folder<br />
&nbsp;&nbsp;&nbsp;=&gt; option 2: you want the folder to be browsable, so you have to configure this on the server
</li>
<li><code>HTTP/1.1 404 Object Not Found</code><br />
&nbsp;&nbsp;&nbsp;the document you ask for does not exist.<br />
&nbsp;&nbsp;&nbsp;=&gt; are you asking for the right document (typo)? on the right server?
</li>
<li><code>HTTP/1.1 500 Server Error</code><br />
&nbsp;&nbsp;&nbsp;typically only for dynamic pages (asp/php/cgi), where the program code contains an error and there is no HTML result that can be shown.<br />
&nbsp;&nbsp;&nbsp;=&gt; go look into the web server or program logs in order to find the bug.
</li>
<li><code>HTTP/1.1 302 Found  [Location: http://someotherserver.com/somepath]</code><br />
&nbsp;&nbsp;&nbsp;the site is redirecting you to some other URL, which itself might give an error 404/403/connect failed/&#8230;<br />
&nbsp;&nbsp;&nbsp;302 codes are not errors, it&#8217;s a common way of sending browser to the right location.<br />
&nbsp;&nbsp;&nbsp;(for example: if this 302 redirects you to a wrong port http://someserver.com:88/whatever and nothing responds on that port, in your IE browser it looks like someserver.com is failing, whereas it really is someserver.com:88)
</li>
<li><code><b>HTTP/1.1 200 OK</b></code><br />
&nbsp;&nbsp;&nbsp;This is the &#8216;normal&#8217; result of asking a web page.</p>
</li>
</ul>
<p>For SSL/HTTPS problems, you better use <code>curl -Ivk</code>, because it gives you &#8220;* Connected to someserver.com port 443 * SSL connection using RC4-MD5 * Server certificate: (certificate content) &#8230;&#8221; information.</p>
<p>Have CURL installed on all your machines, Linux or Windows. Actually, add <a href="http://unxutils.sourceforge.net/">unxutils.sourceforge.net</a> to your Windows machine, so you can work with gawk and wget too.</p>
<p>CURL is not the same as a real browser (especially when working with cookies/sessions), but it can help you solve 90% of typical web server problems. If the problem is browser-related, and you want to see the actual conversation between your browser and the web server, use the <a href="http://www.ethereal.com">Ethereal network protocol analyzer</a>.</p>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2004/06/port-redirection-in-windows/' rel='bookmark' title='Permanent Link: Port redirection in Windows'>Port redirection in Windows</a> <small>We use port redirection/proxy often on our platforms. In the...</small></li><li><a href='http://blog.forret.com/2004/04/fancy-redirection-on-iis-5/' rel='bookmark' title='Permanent Link: Fancy redirection on IIS 5'>Fancy redirection on IIS 5</a> <small>The task seemed easy enough: set up a new web...</small></li><li><a href='http://blog.forret.com/2006/07/from-xp-to-vista-back-to-xp/' rel='bookmark' title='Permanent Link: From XP to Vista back to XP'>From XP to Vista back to XP</a> <small>I finally got too fed up working with a crippled...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2004/05/no-life-without-curls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fancy redirection on IIS 5</title>
		<link>http://blog.forret.com/2004/04/fancy-redirection-on-iis-5/</link>
		<comments>http://blog.forret.com/2004/04/fancy-redirection-on-iis-5/#comments</comments>
		<pubDate>Sat, 24 Apr 2004 01:42:21 +0000</pubDate>
		<dc:creator>Peter</dc:creator>
				<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://peter.smoothouse.com/2004/04/24/fancy-redirection-on-iis-5/</guid>
		<description><![CDATA[The task seemed easy enough: 
set up a new web site sub.domain.com such that every URL http://sub.domain.com/some_path is automatically redirected to process.aspx/?path=some_path (on the same domain or on www.domain.com &#8211; both have .Net running)
Because we run our sites on Win2K/IIS the following options were immediately discarded:

A. Install &#38; configure Apache
I like Apache, let there be [...]


Related posts:<ol><li><a href='http://blog.forret.com/2004/06/port-redirection-in-windows/' rel='bookmark' title='Permanent Link: Port redirection in Windows'>Port redirection in Windows</a> <small>We use port redirection/proxy often on our platforms. In the...</small></li><li><a href='http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/' rel='bookmark' title='Permanent Link: Fix by disabling: error 1016 in event log'>Fix by disabling: error 1016 in event log</a> <small>Due to one of life&#8217;s mysteries, the following error shows...</small></li></ol>]]></description>
			<content:encoded><![CDATA[<p>The task seemed easy enough: </p>
<blockquote><p>set up a new web site <i>sub.domain.com</i> such that every URL <u>http://sub.domain.com/some_path</u> is automatically redirected to <u>process.aspx/?path=some_path</u> (on the same domain or on www.domain.com &#8211; both have .Net running)</p></blockquote>
<p>Because we run our sites on Win2K/IIS the following options were immediately discarded:</p>
<dl>
<dt>A. Install &amp; configure Apache</p>
<dd>I like Apache, let there be no mistake about that, but it&#8217;s just too much hassle managing 2 different web servers on 1 machine. I like having one management interface. Mind you, it would have been so easy:<br />
<code>RedirectMatch /(.*) http://www.domain.com/process.aspx?path=$1</code></p>
<dt>B. Develop a Python daemon</p>
<dd>What&#8217;s wrong with being a geek <img src='http://blog.forret.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ? This is after all a simple single-purpose web site, you have an <i>HTTP GET</i> coming in and a <i>302 Redirect</i> going out with super-basic parsing (check out the regular expression above). But again: having several web servers on 1 machine is asking for chaos. Plus, how robust is the Python <i>SimpleHTTPServer</i>? Has it been tested with attacks from Blaster/Mydoom and the likes?
</dd>
</dt>
</dd>
</dt>
</dl>
<p>Ok, this leaves us with the IIS server. So I create a new IIS site, that takes all the <b>sub</b>.domain.com requests (using a host-header). And now just add redirection, right? Let&#8217;s see &#8230;</p>
<dl>
<dt>C. /default.asp page</p>
<dd>This might have worked if all the incoming URLs were like <u>http://sub.domain.com/<b>?</b>some_path</u> (see the question mark?). But that&#8217;s not the case. </p>
<blockquote><p><i>BTW: Why .asp instead of .aspx? Because it&#8217;s basically a hack, and hacking is way easier in ASP (if you&#8217;re me).</i></p></blockquote>
<dt>D. Custom 404 script</p>
<dd>Configure the IIS to redirect all not found pages (&#8217;404&#8242; errors) to a /404.asp script. The script basically has to do:<br />
<code>Response.Redirect "/process.aspx?path=" &amp; Request.ServerVariables("URL")</code><br />
Only that I get as URL &#8220;/404.asp&#8221; instead of the original URL. I can&#8217;t seem to get the <i>some_path</i>. So I try this for 10 minutes and then move on, basically because I &#8216;m thinking the last method  will be the fastest. If I would have looked further, the QueryString contains &#8220;<i>404;http://sub.domain.com/some_path</i>&#8220;, and I could have parsed it out.</p>
<blockquote><p>Additional remark here: if your home directory is empty, and you call <u>http://sub.domain.com/</u> (home page), you get an error <i>403 Access Forbidden</i> error, instead of <i>404 Page not found</i>. So you would have to either remap that error 403 too, or create a /default.asp that catches this case.</p></blockquote>
<dt>E. Use IIS redirection</p>
<dd>Sure, IIS supports automatic redirection out of the box! Regular expressions and everything! Let&#8217;s elaborate on this method.<br />
<img src="http://www.pixagogo.com/Tools/Thumbnails.aspx?thumb=S5!pg7swZZxdGySkzoV6UdRRGBYy27Dx231pXzkPFQN6rt!caqTYQBqShGA4fxQYH8O9VDTK3uFtpjSRuPWLzhsWc2VmA8r9DLpypUAvMwPW0_" alt="IIS redirection" border="0"/></p>
<ul>
<li>Trial E.1: Redirect all URLs to <b>/process/?path=$V</b> (<i>$V</i> would translate here in &#8220;/some_path&#8221;). Only, when you redirect everything to to a subfolder, this policy is inherited by this subfolder, and you also redirect calls to that subfolder. So you get a nice endless redirection loop that creates links like <i>/process/?path=process/?path=process/?path=process/?path=&#8230;</i>
</li>
<li>Trial E.2: oh, but that is what the checkbox &#8216;A directory below this one&#8217; is for. Only, it doesn&#8217;t work: I get 404 errors. I&#8217;m probably doing something wrong.
</li>
<li>Trial E.3: oh, but you can use a more sophisticated redirection, and turn off redirection for subfolders with &#8220;!&#8221;. Ok, I try <i>*;/process/*;!/*;/process/?path=$0</i>. Nope. Try setting &#8220;!&#8221; as redirection for /process/ folder. Syntax error. Try &#8220;*;*;!&#8221; as redirection for /process folder. Nope, I get get redirection to a non-existent page &#8220;!&#8221;. Ok, drop this one.
</li>
<li>Trial E.4: wait, what if I don&#8217;t redirect to a script one folder lower, but just to <u>/process.aspx?path=$V</u>? Ta-daaa! Here&#8217;s the endless loop again!
</li>
<li>Final try E.5: This is what worked at last: install the process.aspx on the destination server and redirect to it (in other words, exactly what I would have done if I had used Apache)<br />
<code>*;/*;http://www.domain.com/process.aspx?path=$0</code>
</li>
</ul>
</dd>
</dt>
</dd>
</dt>
</dd>
</dt>
</dl>
<p>Trivial, right? Did I &#8217;solve&#8217; the redirection spaghetti in IIS? Not really. Did I get a final result that worked? Yep. Who&#8217;s the man?</p>


<p>Related posts:<ol><li><a href='http://blog.forret.com/2004/06/port-redirection-in-windows/' rel='bookmark' title='Permanent Link: Port redirection in Windows'>Port redirection in Windows</a> <small>We use port redirection/proxy often on our platforms. In the...</small></li><li><a href='http://blog.forret.com/2004/06/fix-by-disabling-error-1016-in-event-log/' rel='bookmark' title='Permanent Link: Fix by disabling: error 1016 in event log'>Fix by disabling: error 1016 in event log</a> <small>Due to one of life&#8217;s mysteries, the following error shows...</small></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.forret.com/2004/04/fancy-redirection-on-iis-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.330 seconds -->
