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

<channel>
	<title>noone-special ۰ &#187; webhosting</title>
	<atom:link href="http://www.noone-special.com/category/webhosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.noone-special.com</link>
	<description>perfecting the lost art of the sloth...</description>
	<pubDate>Sat, 27 Sep 2008 20:08:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>mySQL Error #1064</title>
		<link>http://www.noone-special.com/mysql-error-1064/</link>
		<comments>http://www.noone-special.com/mysql-error-1064/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 02:02:57 +0000</pubDate>
		<dc:creator>graeinler</dc:creator>
		
		<category><![CDATA[applications]]></category>

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

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

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

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

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

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.noone-special.com/?p=49</guid>
		<description><![CDATA[Importing and exporting mySQL dumps for most of the time is quick and easy even for both phpMYadmin and SSH. Unexpected errors do occur, considerably, if you are transferring your data between WebHosts and their different mySQL versions.
One of these is the Error #1064 which occurs due to a mismatch between the mySQL versions and [...]]]></description>
			<content:encoded><![CDATA[<p>Importing and exporting mySQL dumps for most of the time is quick and easy even for both phpMYadmin and SSH. Unexpected errors do occur, considerably, if you are transferring your data between WebHosts and their different mySQL versions.</p>
<p>One of these is the Error #1064 which occurs due to a mismatch between the mySQL versions and it&#8217;s corresponding reserved words, which if used causes the error occur.</p>
<p>The simplest and most effective solution for it is.<br />
<span id="more-49"></span> -when using phpMyadmin, select the &#8220;compatibility mode&#8221; &amp; select the target db version from the drop down box.<br />
-when using MySql administrator,while backing up  choose  &#8220;compatibility mode&#8221; in advanced tab, and while restoring through mysql administrator ,click  &#8220;auto-detect file charater set&#8221; if backup was not made using mySql administrator. The default file characer set used by mysql admministrator is utf8.</p>
<p>If you have questions, please feel free to ask - I would love to help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.noone-special.com/mysql-error-1064/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to block access to your website based on the IP address for MS hosting</title>
		<link>http://www.noone-special.com/how-to-block-access-to-your-website-based-on-the-ip-address-for-ms-hosting/</link>
		<comments>http://www.noone-special.com/how-to-block-access-to-your-website-based-on-the-ip-address-for-ms-hosting/#comments</comments>
		<pubDate>Sat, 14 Jun 2008 05:52:35 +0000</pubDate>
		<dc:creator>graeinler</dc:creator>
		
		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[tips - howto's]]></category>

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

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

		<category><![CDATA[asp script]]></category>

		<category><![CDATA[everyday computing]]></category>

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

		<category><![CDATA[htaccess file]]></category>

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

		<category><![CDATA[ip address]]></category>

		<category><![CDATA[ip addresses]]></category>

		<category><![CDATA[ip request]]></category>

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

		<category><![CDATA[request servervariables]]></category>

		<category><![CDATA[script type]]></category>

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

		<category><![CDATA[shtml extension]]></category>

		<category><![CDATA[ssi shtml]]></category>

		<category><![CDATA[text javascript]]></category>

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

		<guid isPermaLink="false">http://www.noone-special.com/?p=25</guid>
		<description><![CDATA[I use Windows for everyday computing generally because this is what I&#8217;ve been used. This doesn&#8217;t equate to me not being linux fanboy though. This said, I&#8217;m not, or will ever use or even suggest a Windows Server for a number of good reasons. This including the simple method of blocking an IP address to [...]]]></description>
			<content:encoded><![CDATA[<p>I use Windows for everyday computing generally because this is what I&#8217;ve been used. This doesn&#8217;t equate to me not being linux fanboy though. This said, I&#8217;m not, or will ever use or even suggest a Windows Server for a number of good reasons. This including the simple method of blocking an IP address to access your server. On linux, you can setup a script to dynamically add in the ip addresses to your .htaccess file. On windows this is quite cumbersome. The first method I have provided relies on SSI and Javascript to block the intruder (and in most cases those spam bots are not even using a browser). Nevertheless, if your on Windows the following scripts I have provided below should help you.</p>
<p><span style="color: #ff6600;">&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
&#8216;var handleips=bannedips.join(&#8221;|&#8221;) handleips=new RegExp(handleips, &#8220;i&#8221;)</span></p>
<p><span style="color: #ff6600;">if (ip.search(handleips)!=-1){ alert(&#8221;Your IP has been banned from this site. Redirecting&#8230;&#8221;) window.location.replace(&#8221;http://www.google.com&#8221;) } // &#8211;&gt;</span></p>
<p>This script relies on SSI (.shtml extension) in order to work. The ip addresses listed would then be redirected to the site you have provided. Note though that if the intruder disables JavaScript in the browser, the script will become futile.</p>
<p>Here is another asp script that you can use to block certain ip as well and the one which I prefer and would strongly suggest.</p>
<p><span style="color: #ff6600;">&lt;%<br />
EnableSessionState=False<br />
ip = Request.ServerVariables(&#8221;REMOTE_HOST&#8221;)<br />
if ip = &#8220;12.123.1234.123&#8243; or host = &#8220;23.23.23.23&#8243; then<br />
response.redirect(&#8221;http://database-support.co.uk/access_deny.htm&#8221;)<br />
else<br />
response.redirect(&#8221;http://domain.com/test.html&#8221;)<br />
end if<br />
%&gt;</span></p>
<p>Do you know of any other method? Please let me know.</p>
<p>Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.noone-special.com/how-to-block-access-to-your-website-based-on-the-ip-address-for-ms-hosting/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
