<?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>Sumit Gupta &#187; Server Configuration</title>
	<atom:link href="http://www.sumitgupta.net/category/server-configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sumitgupta.net</link>
	<description>bookmarking my life</description>
	<lastBuildDate>Wed, 08 Feb 2012 11:23:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Plesk: Not Recommended</title>
		<link>http://www.sumitgupta.net/plesk-not-recommended/</link>
		<comments>http://www.sumitgupta.net/plesk-not-recommended/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 19:19:38 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[Websitepanel]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=531</guid>
		<description><![CDATA[Lately I got a chance to work on lot of server. Working on 6-7 server in 15 days it not much for a full time server admin, but for a programmer who only manage server to fasten his development process is really long ask. During this process I have 2 encounter with Plesk and unfortunately [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I got a chance to work on lot of server. Working on 6-7 server in 15 days it not much for a full time server admin, but for a programmer who only manage server to fasten his development process is really long ask. During this process I have 2 encounter with Plesk and unfortunately both time Plesk proves to be a pain in neck.</p>
<p>First encounter was during setup a new Windows machine. My client purchase a Leased Term license of plesk and in return plesk send them 10 days temporary license which is expected to install on server and later plesk will auto update the license from online server. This is what I understand during our communication with plesk. However my client took 15 days to pass me the license and server access or you can say they hire me after 15 days of buying license. When I install plesk and try to upload license it naturally says, it is expired. Then we try to contact Plesk support, we call USA support, India Sales support, email to plesk, but no response and no guidance how we get corrected license. After 7 days of talking with plesk we drop the idea of having plesk on server.</p>
<p>Here comes the second problem with plesk. You just cannot run the &#8220;uninstaller&#8221; because they never build uninstaller for their PERFECT software. luckily my client get the computer formatted at no additional cost, otherwise I have to search and delete all file manually, which I don&#8217;t want for two reason. I hate deletion they always leave traces anyways and it is lot more work then expected.</p>
<p>We later use Microsoft&#8217;s Free WebsitePanel. An Awesome software with ease of use for our purpose. We can install any version of SQL Server, MySql, PHP, ASP.NET and configure that easily. Plus we pay nothing to get it.</p>
<p>My second encounter came with a Linux/CentOs Based VPS with Plesk, where I need to upgrade the PHP version from 5.1 to 5.3 on client demand. I search on internet and found that Plesk do not distribute PHP so they do no provide any upgrade method. But there is atomic shell script available to help update. I did that update. PHP was upgraded. We run it, but as you have expected Plesk is broken now. Been on VPS it frequently goes out of memory and create all problems. We ultimately decide to drop that server as it is just test server <img src='http://www.sumitgupta.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>I got saved both time and will never try a Plesk. Horrible software, powered by horrible support. Plesk is good for non experience, but nightmare for custom requirements. Never use it if you love to configure your server for speed or customization.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/plesk-not-recommended/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Upgrade on Plesk/Linux</title>
		<link>http://www.sumitgupta.net/php-upgrade-on-plesklinux/</link>
		<comments>http://www.sumitgupta.net/php-upgrade-on-plesklinux/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 10:29:16 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[atomic]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP Upgrade]]></category>
		<category><![CDATA[Server upgrade]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=527</guid>
		<description><![CDATA[Well if you search topic on google you will find lot about it. But here is quick guide for me with little explanation. 1. Plesk do not ship PHP as it&#8217;s integrated part, so it ask you to upgrade outside plesk and they do not provide support on it. 2. On Linux you can use [...]]]></description>
			<content:encoded><![CDATA[<p>Well if you search topic on google you will find lot about it. But here is quick guide for me with little explanation.</p>
<p>1. Plesk do not ship PHP as it&#8217;s integrated part, so it ask you to upgrade outside plesk and they do not provide support on it.</p>
<p>2. On Linux you can use default APT or YUM to upgrade PHP. In my case it is CentOS/Red hat flavour so this article apply to that mainly. Now when I try to upgrade from PHP 5.1 to PHP5.3 I cannot do that as default CentOS repo shows PHP53 as different package and do not come under default upgrade. And it though gets in conflict with PHP5.1&#8242;s current install.</p>
<p>3. I try to Erase existing package and thought to install PHP 5.3 afresh. But it shows a list of 110 dependencies which mainly consist of Plesk&#8217;s module. Otherwise it was fairly okay to YUM ERASE PHP. So, I have to opt for this solution which works 100% for where I read about it.</p>
<p>4. Atomic Corp create a script then on Red Hat favour enable 5.1 to 5.3 upgrade (Their WIKI: <a href="http://www.atomicorp.com/wiki/index.php/PHP">http://www.atomicorp.com/wiki/index.php/PHP</a> ) Once you run this SH script you can re-run YUM to do the update. Steps are:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="sh" style="font-family:monospace;"># wget -q -O -http://www.atomicorp.com/installers/atomic.sh
# yum upgrade php
# service httpd restart</pre></td></tr></table></div>

<p>Bingo !!! PHP upgraded. No server restart needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/php-upgrade-on-plesklinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Classic ASP : Enable Debug mode on IIS7</title>
		<link>http://www.sumitgupta.net/classic-asp-enable-debug-mode-on-iis7/</link>
		<comments>http://www.sumitgupta.net/classic-asp-enable-debug-mode-on-iis7/#comments</comments>
		<pubDate>Fri, 27 May 2011 07:14:06 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[Debugging]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=480</guid>
		<description><![CDATA[After a long time today I need to work on Classic ASP website. Ofcourse, it was debugging job and the first hurdle was to make the site running in my test environment where unfortunately I don&#8217;t have Debugging for ASP.net enabled. So, I thought to do that by changing my IIS 7 setting so I [...]]]></description>
			<content:encoded><![CDATA[<p>After a long time today I need to work on Classic ASP website. Ofcourse, it was debugging job and the first hurdle was to make the site running in my test environment where unfortunately I don&#8217;t have Debugging for ASP.net enabled. So, I thought to do that by changing my IIS 7 setting so I don&#8217;t have to chance it everytime for every project after all it is debug server only.</p>
<p>So here are settings I need to change:</p>
<p>1. Select the Default website in IIS [or website you need to enable debugging].</p>
<p>2. Look for ASP icon, double click open it. In debugging settings check &#8220;Send to browser &#8221; and Enable Server side debug to true. Close this dialog</p>
<p>3. Look for Error pages, Double Click open, look for 500 Error page, right click select &#8220;edit features&#8221;/advance options. Select Detail Error for all modes.</p>
<p>Finish</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/classic-asp-enable-debug-mode-on-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.htaccess Hack</title>
		<link>http://www.sumitgupta.net/htaccess-hack/</link>
		<comments>http://www.sumitgupta.net/htaccess-hack/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 17:51:42 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=449</guid>
		<description><![CDATA[Today, I got another wordpress that stop working and start giving 404 error. Previously client got it fixed by removing .htaccess from his installation and get it working. I thought he might mess his wordpress himself. But when we got similar error today I search and little and find that in .htaccess there is a [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I got another wordpress that stop working and start giving 404 error. Previously client got it fixed by removing .htaccess from his installation and get it working. I thought he might mess his wordpress himself. But when we got similar error today I search and little and find that in .htaccess there is a php injected to wordpress which reside at  &#8220;/tmp/25454b22bf39c75795851f39d5e347c4&#8243;, after opening the file it looks like professional white script. But knowing computer programmer, only a hacker or idiot can place an important file in /tmp folder. Anyways, I don&#8217;t know the cause of hack yet, but I saw following pattern:</p>
<p>1.  Hack is known for wordpress and OsCommerce as of now. [I personnely see only wordpress below 3.0.5 been hacked, rather more specific to 3.0.4 version]</p>
<p>2. Hack need .htaccess file and /tmp folder, so only Linux [can they use windows temp? not know] and surely for Apache user it is an issue.</p>
<p>I cannot say wordpress or oscommerce is broken, but definately there is a control upload script that copy file to /tmp folder which is usually public readable. and then getting .htaccess is problem.</p>
<p>So if you are on Linux/apache and your software does the .htaccess read/write then you need to be beware.</p>
<p><strong>Precaution</strong></p>
<p>1. Make your .htaccess read only by user and group at most not for public</p>
<p>2. Create a empty non writable file /tmp/25454b22bf39c75795851f39d5e347c4 so in case someone try to copy it fails as file already exists.</p>
<p>3. Change your Passwords</p>
<p>4. Upgrade your software to latest version</p>
<p>5. Do not upload any theme or plugin which is not from known or tested source.</p>
<p>6. Look for vendor recommendation before installing any plugin.</p>
<p>Phew, so far my wordpress is safe, been on windows hosting I am sure the hack will be different if any, lets wait and see.</p>
<p><strong>EDIT</strong>:  After few days of writing this article I found few instance where I can safely says that it is not a wordpress or OsCommerce hack, but rather a hack related to either Linux Operating System, or Apache Web server or Plesk Control panel. For sites I see this hack only those three are in common. All those site I saw get hacked in above way are not written by one developer, not belong to one server [except they all use plesk and apache], not using only Mysql [do you really thing mysql query can create ,htaccess?] <span style="text-decoration: underline;"> So, I give Clean chit to any Open source software as of now from this hack. This is indeed a server hack, Still no reason known to me.</span></p>
<p>Good luck guys !!!</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/htaccess-hack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MySQL : Crash and Upgrade</title>
		<link>http://www.sumitgupta.net/mysql-crash-and-upgrade/</link>
		<comments>http://www.sumitgupta.net/mysql-crash-and-upgrade/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 11:23:08 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=431</guid>
		<description><![CDATA[Today, I face a new problem with MySQL. I got the database to crash quite a few times since morning. Event logs shows that there is a fault in mysqld.exe, but that error was not very clear on specific reason of fault. After searching for articles and forums, I got a hint that in past [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I face a new problem with MySQL. I got the database to crash quite a few times since morning. Event logs shows that there is a fault in mysqld.exe, but that error was not very clear on specific reason of fault. After searching for articles and forums, I got a hint that in past [about 3-4 yrs], one guy has same random crash problem and he found that crash was related to some store procedure. This give me a clue and I found that in my case it is a corrupted database file. I need to investigate as why that database got corrupted as it is the latest database created in system and was working fine just another day.</p>
<p>Anyways, this lead me to upgrade database server after 6-7 months. It was pretty easy though, just download the new version and run the setup. everything was done automatically. Isn&#8217;t it that very simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/mysql-crash-and-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET 4.0 On IIS 6</title>
		<link>http://www.sumitgupta.net/net-4-0-on-iis-6/</link>
		<comments>http://www.sumitgupta.net/net-4-0-on-iis-6/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 18:45:18 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=392</guid>
		<description><![CDATA[With my dedicated Windows 2003/IIS 6.0 server I want to run latest version of .NET framework on it. Hence I use my Web Platform Installer to install .NET 4.0. Everything goes smooth. It was piece of cake to install it. Now the time came to run my first .NET 4.0 Framework application, I configure a [...]]]></description>
			<content:encoded><![CDATA[<p>With my dedicated Windows 2003/IIS 6.0 server I want to run latest version of .NET framework on it. Hence I use my Web Platform Installer to install .NET 4.0. Everything goes smooth. It was piece of cake to install it.</p>
<p>Now the time came to run my first .NET 4.0 Framework application, I configure a New website in IIS. Select .NET framework 4.0 from ASP.NET tab in Website property. But what I found is I am getting 404 error. Strangely enough that Default.aspx page does exists and with .NET 2.0 it works just fine. So what goes wrong ? I search and experiment with web.config, but to no avail.</p>
<p>Then I found this article <a href="http://www.denalimultimedia.com/info/Articles.aspx?cid=20&amp;topic=IIS-6-ASP-NET-4-0-page-not-found-404" target="_blank">http://www.denalimultimedia.com/info/Articles.aspx?cid=20&amp;topic=IIS-6-ASP-NET-4-0-page-not-found-404</a>, which clearly mention that</p>
<ul>
<li>Install framework asp.net 4.0 and restart [Web Platform Installer does it just fine]</li>
<li>IIS 6.0 console should now display ASP.NET 4.0 under tab &#8220;ASP.NET&#8221; [It was again done if #1 above is right]</li>
<li>Under Web Services Extensions (in IIS console) .NET 4.0 framework might be set as: prohibited. This must be ALLOWED otherwise a browser might just return the error 404 page not found which is not very descriptive</li>
<li>ASP.NET 4.0 applications must be run in a separate process (Application Pool) otherwise you&#8217;ll get the error &#8216;Server Application Unavailable&#8217;.</li>
</ul>
<p>It is anyways always good to run different programming languages in different pool. For Example, if you want to run PHP on same server I use different pool for them. Covering those 4 steps I got my server working with .NET 4.0. Wondering why Web Platform Team forgot to complete 2 step in their installer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/net-4-0-on-iis-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIRF: URL Rewrite, 64bit resolved</title>
		<link>http://www.sumitgupta.net/iirf-url-rewrite-64bit-resolved/</link>
		<comments>http://www.sumitgupta.net/iirf-url-rewrite-64bit-resolved/#comments</comments>
		<pubDate>Sat, 29 May 2010 18:10:24 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[IIRF]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Mod_Rewrite]]></category>
		<category><![CDATA[Url Rewrite]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=385</guid>
		<description><![CDATA[Wow, it was hard 48hrs trying to get URL Rewrite for IIS 6.0. Most of solutions are paid and hence not my piece of cake. Especially when I found a great IIRF which is free. However the developer has problem that he doesn&#8217;t have 64bit machine to test and fix. Same is with me, but [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, it was hard 48hrs trying to get URL Rewrite for IIS 6.0. Most of solutions are paid and hence not my piece of cake. Especially when I found a great IIRF which is free. However the developer has problem that he doesn&#8217;t have 64bit machine to test and fix. Same is with me, but I manage to get a 64bit version of it from original source with almost no change. Here are steps I used to create my 64bit version.</p>
<p>1. Download Latest PCRE version from <a href="http://www.pcre.org" target="_blank">http://www.pcre.org</a></p>
<p>2. Download Cmake from <a href="http://www.cmake.org" target="_blank">http://www.cmake.org</a></p>
<p>3. Using CMake, I create a Visual Studio 9 64bit Solution from it.</p>
<p>4. Compile PCRE in 64bit.</p>
<p>5. Now download the Latest Source of IIRF from Codeplex (<a href="http://iirf.codeplex.com" target="_blank">http://iirf.codeplex.com</a> )</p>
<p>6. Open its solution file, change IIRFConfig.c file to by replacing pcre_free function call to free function call [2 replacements only]. [it was otherwise giving linker error to me]</p>
<p>7. Now replace 3rdParty files from your PCRE version [you need to compile PCRE in Release mode only, and make a STATIC Library [by default it is dynamic library, though you need both static and dynamic]</p>
<p>8. Now compile your IIRF version and Bingo!!! it is done, you will get a IIRF in 64bit machine.</p>
<p>Now some interesting facts</p>
<p>1. I use Windows 7 with Visual Studio 2008 to do all this on my 32bit machine only. So I cannot test my build as it won&#8217;t run 64bit stuff.</p>
<p>2. I had a 64bit windows 2003 VPS with IIS 6.0 running in 64bit mode, I test it up there and it works.</p>
<p>3. I did all this because I want to move this blog to Windows 2003 64bit. I will do it soon.</p>
<p>Now, your award for reading it out, you can <a title="IIRF 64bit v2.1 - Sumit's Modification" href="http://www.sumitgupta.net/download/IIRF64bit_2.1.zip" target="_blank">download that 64bit IIRF Release version</a> here</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/iirf-url-rewrite-64bit-resolved/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apache and IIS 7</title>
		<link>http://www.sumitgupta.net/apache-and-iis-7/</link>
		<comments>http://www.sumitgupta.net/apache-and-iis-7/#comments</comments>
		<pubDate>Sat, 22 May 2010 08:41:44 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Joyous]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Development Server]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=378</guid>
		<description><![CDATA[Been a web development company, my company need to setup a local server that allow developers to work on centralized server for ease of use and development. For this we got one Physical server. Our requirements are simple, we need IIS 7 to let the development on ASP.NET take place and we need Apache to [...]]]></description>
			<content:encoded><![CDATA[<p>Been a web development company, my company need to setup a local server that allow developers to work on centralized server for ease of use and development. For this we got one Physical server. Our requirements are simple, we need IIS 7 to let the development on ASP.NET take place and we need Apache to have support for .htaccess files. Though we can do URL rewrite and more other things with IIS 7 but some of our clients have Linux hosting only, so we have to technology that our clients use.</p>
<p>Now I have two options, I create a Virtual Machine one over other, where one machine is Linux and other is Windows. My company got Windows 2008 Web edition License through Microsoft WebSpark program. So I decide to without Virtual machine, as I don&#8217;t like virtual machine for development purpose, they are just too much overhead. So what I did is, I install windows 2008 as Operating system, with IIS 7. Install the Web Platform using Microsoft Web Platform, which also installed ASP.NET 2.0 and ASP.NET 4.0 and SQL Server which is good enough for small scale development.</p>
<p>Now, it is time to configure server for PHP team, well quite a simple stuff, I download the MySQL Community edition and install it. Easy and neat. Now Download the Apache HTTPD server and install it. However I just change it&#8217;s Listen Port from 80 to 700 [just any random port] and we are done. Web Installer already install and configure PHP on IIS 7, and I use PHP-cgi from its folder to run as Apache CGI application. Hope that is decently good platform until we get our second server for development.</p>
<p>Our server is now become a host for:</p>
<p>IIS 7</p>
<p>Apache HTTPD server</p>
<p>MySQL</p>
<p>SQL Server</p>
<p>Visual SVN</p>
<p>Yeah it does all those, and you will get surprised to know that it runs on regular PC configuration with core2duo 2.0 GHz on intel Desktop board without RAID. It servers 1 SQL server per second per stats and have more than 20 GB of data as Web application scripts with more than 100 website configured to run on this server. And Mind it the server runs 24&#215;7 and used only 9 hrs of production, rest of other time it just serve for Demo to client.</p>
<p>Isn&#8217;t it that nice little server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/apache-and-iis-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PWNAT: Windows Complied Version</title>
		<link>http://www.sumitgupta.net/pwnat-windows-complied-version/</link>
		<comments>http://www.sumitgupta.net/pwnat-windows-complied-version/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 05:35:24 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[PwNAT]]></category>
		<category><![CDATA[Windows SDK]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=368</guid>
		<description><![CDATA[Recently I complied the PWNAT on windows, and already got few mail asking on how I did that. So to help all fan of great software, I am uploading the Windows Compatible Source. Disclaimer: I haven&#8217;t modify any license Information. All Copyrights and signature are same as Official release of Pwnat 0.3 Beta by Samy on [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I complied the PWNAT on windows, and already got few mail asking on how I did that. So to help all fan of great software, I am uploading the Windows Compatible Source.</p>
<p>Disclaimer: I haven&#8217;t modify any license Information. All Copyrights and signature are same as Official release of Pwnat 0.3 Beta by Samy on his site. I only remove the compile error for Windows NMAKE Utility, and I have complied the software using NMake that got shipped with visual Studio 2008. But my guess is it will work fine with any nMake version.</p>
<p>Note:</p>
<p>1. To get it complied you need to have Windows SDKs 6.0A, I try to compile it with SDK 5.0 but it failed on Winsock Library.</p>
<p>2. Complied Version works fine on Windows XP SP2 and Later for me. I believe it works on Windows XP onwards.</p>
<p>Hope I cover all notes. So enough talking here is Download Link of the same:</p>
<p><a href="http://www.sumitgupta.net/download/pwnat.zip">http://www.sumitgupta.net/download/pwnat.zip</a></p>
<p>I feel bad about this software is that it is first time when I try to contact some author he didn&#8217;t respond back, and that is why inspite been very good concept and software I found people are finding its solution somewhere else. I wish Samy, you take care of your software well. This Code is still 100% yours, I just move some line in few condition.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/pwnat-windows-complied-version/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>1and1.com hosting &#8211; WordPress upgrade failure</title>
		<link>http://www.sumitgupta.net/1and1-com-hosting-wordpress-upgrade-failure/</link>
		<comments>http://www.sumitgupta.net/1and1-com-hosting-wordpress-upgrade-failure/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 09:45:03 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Installation Failure]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=343</guid>
		<description><![CDATA[Today I was upgrading one of my client&#8217;s wordpress installation, but it was failing, later I found in some forum that this failure is because 1and1.com hosting doesn&#8217;t have PHP enable by default and that we need to map php5 compiler properly. For this all you need to do is just add AddType x-mapp-php5 .php [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was upgrading one of my client&#8217;s wordpress installation, but it was failing, later I found in some forum that this failure is because 1and1.com hosting doesn&#8217;t have PHP enable by default and that we need to map php5 compiler properly. For this all you need to do is just add</p>
<p>AddType x-mapp-php5 .php<br />
AddHandler x-mapp-php5 .php </p>
<p>in your .htaccess and the upgrade will work fine. Also, this is just one of many reason for upgrade failure, and you should perform this after you check all permission and stuff on your application. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/1and1-com-hosting-wordpress-upgrade-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Auto Dialer: PPPoE Dialer</title>
		<link>http://www.sumitgupta.net/internet-auto-dialer-pppoe-dialer/</link>
		<comments>http://www.sumitgupta.net/internet-auto-dialer-pppoe-dialer/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 17:13:49 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[PPPoE Dialer]]></category>
		<category><![CDATA[RASPHONE]]></category>
		<category><![CDATA[Schedular]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=324</guid>
		<description><![CDATA[I need to configure a autodialer for windows 2008 server. Although the PPPoE dialer within windows have &#8220;dial on line drop&#8221; but for some unknown reason that function wasn&#8217;t working for my cause. Also, if a User through which I start/dial connect gets logout the connection gets disconnect. Someone suggest to use 3rd party dialer, [...]]]></description>
			<content:encoded><![CDATA[<p>I need to configure a autodialer for windows 2008 server. Although the PPPoE dialer within windows have &#8220;dial on line drop&#8221; but for some unknown reason that function wasn&#8217;t working for my cause. Also, if a User through which I start/dial connect gets logout the connection gets disconnect.</p>
<p>Someone suggest to use 3rd party dialer, but I am not very keep to install anything &#8220;else&#8221; on server and I believe that there should exists some method to do it within available windows resources. But when I read article on &#8220;10 default things windows should adopt from Linux&#8221; where I read about crone feature I got an idea, that why not schedule the RASPHONE through scheduler ? So here is what I do:<br /> I create a batch script that simply ping google.com, if ping is unsuccessful it call rasphone with &#8220;-d&#8221; switch and dial the connection. now I schedule it to run every 5 minutes after ssytem startup for indefinate time. Simple 2 line batch script and work is done.</p>
<p>Edit (code of Batch file):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="batch" style="font-family:monospace;">@echo off
ping -n 2 -l 1 google.com
if %errorlevel%==1 rasphone -d &quot;MyDialupConnectionName&quot;</pre></td></tr></table></div>

<p>Edit: 01-10-2011</p>
<p>I change the file to use RASDIAL command instead of rasphone, as when my Internet line has disturbance or my ISP is not available then my schedule keep adding rasphone.exe in Active task like which consume 2.5MB per instance and since I schedule it to run every 10 minutes, it keep consume 2.5MB every 10 minutes and finally my server was doomed when my ISP went down for 2 days during weekend. So new file is</p>
<p>&nbsp;</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="batch" style="font-family:monospace;">@echo off
ping -n 2 -l 1 google.com
if %errorlevel%==1 rasdial &quot;MyDialupConnectionName&quot; Username Password</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/internet-auto-dialer-pppoe-dialer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ImageMagic on Rackspace Cloud server (linux)</title>
		<link>http://www.sumitgupta.net/imagemagic-on-rackspace-cloud-server-linux/</link>
		<comments>http://www.sumitgupta.net/imagemagic-on-rackspace-cloud-server-linux/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 17:09:14 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Bookmarked]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[Imagemagic]]></category>
		<category><![CDATA[Rackspace Cloud]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=287</guid>
		<description><![CDATA[Just a reminder for myself ,Imagemagic is available on Rackspace cloud at following name/location /usr/bin/mogrify I have use it in one of my poject, and works great for image resizing better than GD in PHP.]]></description>
			<content:encoded><![CDATA[<p>Just a reminder for myself ,Imagemagic is available on Rackspace cloud at following name/location</p>
<p>/usr/bin/mogrify</p>
<p>I have use it in one of my poject, and works great for image resizing better than GD in PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/imagemagic-on-rackspace-cloud-server-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally wordpress permalinks works</title>
		<link>http://www.sumitgupta.net/finally-wordpress-permalinks-works/</link>
		<comments>http://www.sumitgupta.net/finally-wordpress-permalinks-works/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 13:33:03 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server Configuration]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=274</guid>
		<description><![CDATA[After a long time, finally Microsoft add the ability to work with URL Rewriting in IIS, finally Godaddy start supporting it with their hosting, and finally I try the service to found it working first shot. You will find detail guides at http://learn.iis.net/page.aspx/466/enabling-pretty-permalinks-in-wordpress/   (IIS official article) http://codex.wordpress.org/Using_Permalinks (WordPress official Article) My unofficial web.config content [...]]]></description>
			<content:encoded><![CDATA[<p>After a long time, finally Microsoft add the ability to work with URL Rewriting in IIS, finally Godaddy start supporting it with their hosting, and finally I try the service to found it working first shot.</p>
<p>You will find detail guides at</p>
<p>http://learn.iis.net/page.aspx/466/enabling-pretty-permalinks-in-wordpress/   (IIS official article)</p>
<p>http://codex.wordpress.org/Using_Permalinks (WordPress official Article)</p>
<p>My unofficial web.config content</p>
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;<br />
&lt;configuration&gt;<br />
&lt;system.webServer&gt;<br />
&lt;rewrite&gt;<br />
<span> </span> &lt;rules&gt;<br />
<span> </span> &lt;rule name=&#8221;Main Rule&#8221; stopProcessing=&#8221;true&#8221;&gt;<br />
<span> </span> &lt;match url=&#8221;.*&#8221; /&gt;<br />
<span> </span> &lt;conditions logicalGrouping=&#8221;MatchAll&#8221;&gt;<br />
<span> </span> &lt;add input=&#8221;{REQUEST_FILENAME}&#8221; matchType=&#8221;IsFile&#8221; negate=&#8221;true&#8221; /&gt;<br />
<span> </span> &lt;add input=&#8221;{REQUEST_FILENAME}&#8221; matchType=&#8221;IsDirectory&#8221; negate=&#8221;true&#8221; /&gt;<br />
<span> </span> &lt;/conditions&gt;<br />
<span> </span> &lt;action type=&#8221;Rewrite&#8221; url=&#8221;index.php&#8221; /&gt;<br />
<span> </span> &lt;/rule&gt;<br />
<span> </span> &lt;/rules&gt;<br />
<span> </span>&lt;/rewrite&gt;<br />
&lt;/system.webServer&gt;<br />
&lt;/configuration&gt;</p></blockquote>
<div>Hope it helps other.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/finally-wordpress-permalinks-works/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MySQL &#8220;Server has gone away&#8221; error</title>
		<link>http://www.sumitgupta.net/mysql-server-has-gone-away-error/</link>
		<comments>http://www.sumitgupta.net/mysql-server-has-gone-away-error/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 10:35:57 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Mysql]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=210</guid>
		<description><![CDATA[A useful like to know the reason of &#8220;Server has gone away&#8221; error of MySQL. http://blog.taragana.com/index.php/archive/mysql-tip-mysql-server-has-gone-away-or-lost-connection-to-server-during-query-fix/ It has very good information on why it happens, so you can check and correct the error.]]></description>
			<content:encoded><![CDATA[<p>A useful like to know the reason of &#8220;Server has gone away&#8221; error of MySQL.</p>
<p><a href="http://blog.taragana.com/index.php/archive/mysql-tip-mysql-server-has-gone-away-or-lost-connection-to-server-during-query-fix/">http://blog.taragana.com/index.php/archive/mysql-tip-mysql-server-has-gone-away-or-lost-connection-to-server-during-query-fix/</a></p>
<p>It has very good information on why it happens, so you can check and correct the error.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/mysql-server-has-gone-away-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subnet Mask Calculator</title>
		<link>http://www.sumitgupta.net/subnet-mask-calculator/</link>
		<comments>http://www.sumitgupta.net/subnet-mask-calculator/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 11:07:22 +0000</pubDate>
		<dc:creator>Sumit Gupta</dc:creator>
				<category><![CDATA[Links]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Subnet Mask]]></category>

		<guid isPermaLink="false">http://www.sumitgupta.net/?p=206</guid>
		<description><![CDATA[Every need to calculate subnet mask, you will need this site if you are system administrator: http://www.subnet-calculator.com Calculate the subnet mask with ease.]]></description>
			<content:encoded><![CDATA[<p>Every need to calculate subnet mask, you will need this site if you are system administrator:</p>
<p><a href="http://www.subnet-calculator.com">http://www.subnet-calculator.com</a></p>
<p>Calculate the subnet mask with ease.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sumitgupta.net/subnet-mask-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

