<?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>NPSites.com &#187; Site Management</title>
	<atom:link href="http://www.npsites.com/category/howtos/site-management/feed" rel="self" type="application/rss+xml" />
	<link>http://www.npsites.com</link>
	<description>NPSites.com</description>
	<lastBuildDate>Wed, 25 Jan 2012 00:38:02 +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>Writing A Robots.txt File For Google Bots</title>
		<link>http://www.npsites.com/23/writing-a-robotstxt-file-for-google-bots.html</link>
		<comments>http://www.npsites.com/23/writing-a-robotstxt-file-for-google-bots.html#comments</comments>
		<pubDate>Fri, 02 Jan 2009 01:22:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://htmlguide.npsites.com/?p=23</guid>
		<description><![CDATA[Google is one of the largest search engines but Google also serves ads for many of our sites. So what is a robots.txt file and how do you modify it so it works well with Google. What is a robots.txt File Robots are unmanned Internet tools that visit websites and try to read the content [...]]]></description>
			<content:encoded><![CDATA[<p>Google is one of the largest search engines but Google also serves ads for many of our sites.</p>
<p>So what is a robots.txt file and how do you modify it so it works well with Google.</p>
<p><strong>What is a robots.txt File</strong><br />
Robots are unmanned Internet tools that visit websites and try to read the content of and index the content of the site. For search engines they are interested in grabbing keywords and links within the site so they can be included in search results for their users.</p>
<p>To do this they read in the HTML content of the page using algorithms to weed out fake content. They will read the title of the page and of headlines and weight that against the rest of the content. They may also look at meta keywords and descriptions located in the header but many robots actually read your pages like a human would. Or at least they try to.</p>
<p>Robots used for advertising banners will read the page and feed an ad banner based on the content of the page. This often happens real time and is transparent to your visitors. This can place an extra load on your server because each page view will require a second, third, fourth or more hits to your pages just to serve your ads.</p>
<p>Ok so what can you do to control these bots? Well a robots.txt file can contain instructions that NICE bots will read and this will let you control how they browse through your site. However even some large search engine companies ignore this file and in that case you will need to setup a .htaccess rule to control the bots access to your site.</p>
<p>Since we are trying to make a nice robots.txt file for Google you should understand that their bots can and do change. Google will give you specific instructions when they change their settings that you can view from your AdSense account.</p>
<p><strong>Setting Up The Robots.txt File</strong><br />
All you need to write a robots.txt file is notepad or other another pure txt file editor.</p>
<p>Start by creating an empty file named robots.txt</p>
<p>Add to that file the following:</p>
<div style="width: 400px; border: #000000 1px solid;">
<p>User-agent: Mediapartners-Google*<br />
Disallow:</p>
<p> </p></div>
<p>Now save this file and upload it to your root website directory.<br />
This is the main directory with your index.html file where people are pointed when they type in www.yoursitename.com in their browser.</p>
<p>This command will allow Google&#8217;s Bots to see your whole site. It should be on the top lines of your robots.txt file if you have other commands in your file.</p>
<p>You may also want to limit access to certain directories on your site from all bots.</p>
<p>In other pages we will cover how to block bad bots and how to use meta tags to control bots on your site.</p>
<p>We will also cover how to block bad bots with a .htaccess file.</p>
<p>Remember that controling who indexes your site is never perfect but it is something that you can do to optimize the way your visitors see your site in search engine indexes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/23/writing-a-robotstxt-file-for-google-bots.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Management &#8211; Custom Error Pages</title>
		<link>http://www.npsites.com/30/website-management-custom-error-pages.html</link>
		<comments>http://www.npsites.com/30/website-management-custom-error-pages.html#comments</comments>
		<pubDate>Fri, 02 Jan 2009 04:23:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://htmlguide.npsites.com/?p=30</guid>
		<description><![CDATA[There are times when entvery site will have errors displayed to their visitors and this is normal even on the best and biggest sites.  There are a variety of reasons that a visitor may see an error but as a webmaster you want to provide your visitor with information that will lead them back to [...]]]></description>
			<content:encoded><![CDATA[<p>There are times when entvery site will have errors displayed to their visitors and this is normal even on the best and biggest sites.  There are a variety of reasons that a visitor may see an error but as a webmaster you want to provide your visitor with information that will lead them back to the content that they are looking for.</p>
<p>The first and most common is a 404 Error.<br />
This is when your visitor trys to visit a page that is not available on your site. This often happens when you change your directory structure or permalink rewrite structure for your pages and although it is an Error it does not really represent a problem occurring.</p>
<p>The best way to handle your 404 errors is to add a 404 error page to your root website directory. If you are using CPanel or another website management panel you can review the ways that your host wants this file written but for the most part it is as simple as writing a basic html page and naming it <strong>404.shtml</strong> and placing it in your<strong> /public_html/ directory</strong>. Note that the file is named SHTML because it is a server scripted file.</p>
<p><strong>Other common website errors include:</strong></p>
<p><strong>206</strong> Partial Content<strong><br />
301</strong> Moved permanently (redirect)<br />
<strong>400</strong> (Bad request)<br />
<strong>401</strong> (Authorization required)<br />
<strong>403</strong> (Forbidden)<br />
<strong>404</strong> (Wrong page)<br />
<strong>500</strong> (Internal server error)</p>
<p>If you read your website logs you should be concerned if you are getting a large number of any errors.</p>
<p><strong>500</strong> (Internal server error)<br />
This is a very important Error because it means that the scripts on your site are not functioning properly. It is very common to get this error when you are first installing Perl or Php Scripts because during the install or writing process you are likely to mistake a location of a file or forget the dreaded ; at the end of a line.</p>
<p>Once you fix the initial install if you check that the script is working well then 500 server errors may be caused by a slow server where your processes are timing out before they are completed. This is very common on shared hosting and for some website scripts there really is no cure but to move to a dedicated server to gain you more power. However for most basic website software your host should be able to handle a decent amount of load if you do not go overboard with plugins and special features.</p>
<p>Remember if you are seeing these errors in your log files then your visitors are seeing them when they load your site. Installing Error Handling Pages will present your customer with specific information and if you desire a way to contact you.</p>
<p><strong>Writing Your Error Handler Files</strong><br />
You should make a html file that looks like the rest of your site but the content area should announce the information they were looking for can not be found or that an error has happened.</p>
<p>The page should have all the basic navigation working so they can get back to the area they just were or get to your home or contact page.</p>
<p>An easy way is to view your website and then copy the pages web source code into a text document. This is important for Shopping Sites and Blogs whos sites are often split up in a template.</p>
<p>You can also include a Search Box.</p>
<p>Some ad companies frown on placing ads on error pages so check with your program guidelines. The reason behind this is some sites make temporary pages to get into search engines and then take them offline generating thousands of error pages just to get clicks. </p>
<p><strong>Site Maps for Search Engines<br />
</strong>If you find your site is having a number of missing or moved page problems you may want to look into generating a Sitemap file that can be read by search engines. View our other Guides on Search Engine Site Maps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/30/website-management-custom-error-pages.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo Disallow Webbots For WordPress</title>
		<link>http://www.npsites.com/32/howto-disallow-webbots-for-wordpress.html</link>
		<comments>http://www.npsites.com/32/howto-disallow-webbots-for-wordpress.html#comments</comments>
		<pubDate>Fri, 02 Jan 2009 05:28:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>
		<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://htmlguide.npsites.com/?p=32</guid>
		<description><![CDATA[For any website administrator it is important to regulate how search engine robots suck the life out of your site. While it is important to consider .htaccess for password protecting and leaching of images simply inserting a robots.txt file can reduce a lot of load on your site. This is very important for administrators who use [...]]]></description>
			<content:encoded><![CDATA[<p>For any website administrator it is important to regulate how search engine robots suck the life out of your site. While it is important to consider .htaccess for password protecting and leaching of images simply inserting a robots.txt file can reduce a lot of load on your site.</p>
<p>This is very important for administrators who use Amazon Webstores and for anyone that feeds their content off of remote xml data. If the generation of your sites pages can be unlimited based on an external data resource you should examine more indepth ways to restrict access to any bot.</p>
<p>For WordPress users you want to restrict access to files and directories that are not part of your site. You may also want to restrict access to your images and cache files.</p>
<p>A basic WordPress robots.txt file could include the following:</p>
<p>Notice User Agent * is all&#8230;. and that disallows are at the top<br />
followed by overrides for Google AdSense.<br />
An included badbot is also banned based on their user agent info found in the webserver logs.</p>
<div style="border: 1px solid #000000; margin: 5px; padding: 5px; font-size: 9px; width: 450px; line-height: 10px;">User-agent: *<br />
Disallow: /cgi-bin<br />
Disallow: /wp-admin<br />
Disallow: /wp-includes<br />
Disallow: /wp-content/plugins<br />
Disallow: /wp-content/cache<br />
Disallow: /wp-content/themes<br />
Disallow: /trackback<br />
Disallow: /feed<br />
Disallow: /comments<br />
Disallow: /category/*/*<br />
Disallow: */trackback<br />
Disallow: */feed<br />
Disallow: */comments<br />
Disallow: /*?*<br />
Disallow: /*?<br />
Allow: /wp-content/uploads</p>
<p># Google AdSense<br />
User-agent: Mediapartners-Google*<br />
Disallow:<br />
Allow: /*</p>
<p># BadBot found in my logs<br />
User-agent: badbot<br />
Disallow: /</p></div>
<p>Remember that a robots.txt file is only as good as the bot that reads it.<br />
If someone is using wget to grab your site or a bot designed to harvest emails and links you are better off stopping it with script level denial, .htaccess or firewall commands.</p>
<p>If your site is getting hammered then contact your Service provider for help.</p>
<p>This info is just for reducing unneeded or unnecessary load by having bots run around in circles not finding what they should be looking for.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/32/howto-disallow-webbots-for-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reseller Billing With WHM.AutoPilot</title>
		<link>http://www.npsites.com/89/reseller-billing-with-whmautopilot.html</link>
		<comments>http://www.npsites.com/89/reseller-billing-with-whmautopilot.html#comments</comments>
		<pubDate>Fri, 30 Jan 2009 21:54:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=89</guid>
		<description><![CDATA[If you are a website designer that would like to offer hosting services for your clients you will need a way to let your customers signup and pay for accounts. If you only have a handful of clients you can probably get away with doing the work manually but once you get past about 25 [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a website designer that would like to offer hosting services for your clients you will need a way to let your customers signup and pay for accounts.</p>
<p>If you only have a handful of clients you can probably get away with doing the work manually but once you get past about 25 accounts you endup working on things that make your job just that much more difficult.</p>
<p>WHM.AutoPilot is an automation system for hosting accounts.</p>
<p>To use it you need to have a reseller account or server that has cPanel V2 or cPanel and Plesk V3.</p>
<p>The product is designed for Unix/linux servers and requires MySql, PHP4.4 or higher and  Zend Optimizer to run.</p>
<p>Your reseller account needs to be able to Create and Edit Packages and Manage Accounts.</p>
<p><strong>How It Works</strong></p>
<p>The product is pretty straight forward with only a couple clunky (reading directions necessary) aspects. The part that will take the most time is setting up payment and domain registration accounts with each respective company so your system will work once it is configured.</p>
<p><img class="alignright size-full wp-image-91" title="whmautopilot" src="http://www.npsites.com/npsblog/wp-content/uploads/2009/01/whmautopilot.jpg" alt="whmautopilot" width="400" height="371" />The first thing you do is setup your account hosting packages in WHMcPanel like you normally would. Like most hosts you will want to offer your customers a few different plans. Each will have different quotas and features.</p>
<p>Once you are happy with your accounts you setup your WHM.AutoPilot settings to communicate with your WHMcPanel account and import your hosting packages.</p>
<p>Once your packages are imported you can manage pricing.</p>
<p><strong>Domain Names</strong><br />
You can offer domain name sales through Enom or a few other companies that can be purchased at the same time hosting is bought.</p>
<p>You will need to have a plan with enom and setup your account info and maybe even open a port to allow WHM.AutoPilot to talk to the Domain Name Seller.</p>
<p><strong>Billing Options</strong><br />
There are probably about 25 different payment systems that can work with your billing system. Paypal is one of them however there are merchant accounts you can use.</p>
<p><strong>How can you learn this software?</strong></p>
<p>The software is downloadable for free and can be used for up to 10 accounts.</p>
<p>You can setup  your system to work in demo mode that way you can test how the product works without making actual payments.</p>
<p>You can also watch some really nice demo videos on their website that will walk you through the whole process of setting up the software and managing your accounts. You should set aside a full day to watch the videos and setup your own demo server.</p>
<p><strong>Conclusion</strong></p>
<p>This is a really nice product that offers a number of good features. At the  time we reviewed the product we wished it had better domain name buying choices but this is probably a result of domain sellers not opening up a resource for automated sales.</p>
<p>If you are reselling this is one of a few products that you need to have around. Some reseller accounts will come with a copy of this software for free if not take a look at the demo and you will see it is definitely worth it especially for automated monthy re-billing.</p>
<p><strong>For more info visit their site</strong></p>
<p><a href="http://www.whmautopilot.com" target="_blank">http://www.whmautopilot.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/89/reseller-billing-with-whmautopilot.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; Use Fantastico De Luxe To Add Value For Your Hosting Customers</title>
		<link>http://www.npsites.com/99/howto-use-fantastico-de-luxe-to-add-value-for-your-hosting-customers.html</link>
		<comments>http://www.npsites.com/99/howto-use-fantastico-de-luxe-to-add-value-for-your-hosting-customers.html#comments</comments>
		<pubDate>Tue, 03 Feb 2009 15:31:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=99</guid>
		<description><![CDATA[Fantastico De Luxe is an application installer that comes with cPanel. The software provided is a variety of different packages, scripts and templates that are useful for developing a website. The benefit is that your customers can use code that has been reviewed to work well with most installs and most of the featured products [...]]]></description>
			<content:encoded><![CDATA[<p>Fantastico De Luxe is an application installer that comes with cPanel.</p>
<p>The software provided is a variety of different packages, scripts and templates that are useful for developing a website. The benefit is that your customers can use code that has been reviewed to work well with most installs and most of the featured products do not require payment or registration by you or your hosting customer.Applications are installed with a single click or a helpful wizard.</p>
<p>The variety of products includes products like<br />
Wordpress, Drupal, PHPCoin, osTicket, phpBB, Open-Realty about 2 dozen other products and maybe 100 website templates.</p>
<p>If you are purchasing reseller hosting with cPanel then you probably already have it installed. If you are setting up your own server then the cost is very low considering the advantage.</p>
<p>License includes free support and regular updates.</p>
<p>Cost is from $0 if included in your reseller package up to about $200 a year.</p>
<p>The real advantage of this product is that it takes the guess work out of installing packages. It will even create databases if needed so customers only need to enter passwords for their administration accounts..  click and their products are installed.</p>
<p>If it circumvents one tech call about how to assign db rights to a MySql User you have made your money back.</p>
<p>For more information visit.</p>
<p><a href="http://www.netenberg.com/fantastico.php" target="_blank">http://www.netenberg.com/fantastico.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/99/howto-use-fantastico-de-luxe-to-add-value-for-your-hosting-customers.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClientExec Billing Software</title>
		<link>http://www.npsites.com/108/clientexec-billing-software.html</link>
		<comments>http://www.npsites.com/108/clientexec-billing-software.html#comments</comments>
		<pubDate>Sat, 07 Feb 2009 13:53:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=108</guid>
		<description><![CDATA[ClientExec is a billing account manager for resellers or hosters. This product may be available for free if you are purchasing a reseller account or if your server sales company offers it along with their Plesk or cPanel installs. The idea behind the software is to automate as much of the back end as posible [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.npsites.com/npsblog/wp-content/uploads/HLIC/f78d1858d3b307c262a5924c4850443b.jpg" alt="" width="172" height="124" />ClientExec is a billing account manager for resellers or hosters.</p>
<p>This product may be available for free if you are purchasing a reseller account or if your server sales company offers it along with their Plesk or cPanel installs.</p>
<p>The idea behind the software is to automate as much of the back end as posible while still allowing you to go in and override and modify accounts. This is very useful if you are offering a special discount for charities or other customers.</p>
<p><strong>The software works with a number of reseller control panels</strong>.</p>
<p>cPanel/WHM	License Defender<br />
Plesk	Teamspeak<br />
DirectAdmin	ISPManager<br />
TCAdmin (beta)	InterWorx-CP</p>
<p>Creating local or remote accounts is simple using our control panel plugins. Our plugins will create, delete, update, suspend and unsuspend accounts with a simple click of a button. No more logging into multiple control panels to handle these simple tasks.</p>
<p><strong>Choose from a variety of payment systems</strong></p>
<p>PayPal,	World Pay, Google Checkout,  StormPay, Authorize.Net,	PsiGate,BluePay	Protx, CCAvenue, eWay, ChronoPay, Money Bookers, Quantum Gateway, 2Checkout, e-gold,	eProcessing Network,Internet Secure, LinkPoint</p>
<p>Allow customers to register Domain Names from Directi,	Enom, OpenSRS</p>
<p>The product is full featured and is used by many large hosting companies.</p>
<p>Branding of your forms is easy</p>
<p>.</p>
<p>For more information visit their website.</p>
<p><a href="http://www.newedge.com" target="_blank">http://www.newedge.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/108/clientexec-billing-software.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; DNS Naming Conventions For Your Services FTP, WWW, Mail</title>
		<link>http://www.npsites.com/130/howto-dns-naming-conventions-for-your-services-ftp-www-mail.html</link>
		<comments>http://www.npsites.com/130/howto-dns-naming-conventions-for-your-services-ftp-www-mail.html#comments</comments>
		<pubDate>Wed, 11 Feb 2009 06:13:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=130</guid>
		<description><![CDATA[Recently I had a conversation with a number of blog developers about proper use of domain names and sub-domains when you are developing your website and infrastructure. The debate was centered around whether or not to use www. in front of a domain name and if so why. To be fair the people having the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.npsites.com/npsblog/wp-content/uploads/HLIC/7cb2f83bc88bdae3dfa6a148b2e9c0e9.jpg" alt="" width="122" height="160" />Recently I had a conversation with a number of blog developers about proper use of domain names and sub-domains when you are developing your website and infrastructure.</p>
<p>The debate was centered around whether or not to use www. in front of a domain name and if so why.</p>
<p>To be fair the people having the conversation were more likely to be concerned about how their site looks on the web and not so much its overall function either as a multi-server enviroment or as an eventual structure for a corporations internet services but even if they are just hosting one Blog its no excuse to throw away proper configuration of your website.</p>
<p>And in all honesty I was probably the only one in the debate old enough to remember a time before there were webservices or a need for www. to be taged in front of your domain to identify the webserver.</p>
<p>So, without going into how to setup the dns lets just look at some of the uses of subdomains.</p>
<p>Lets say you have one website and the company offers file downloads or an anonymous ftp server. Even if that server is the same physical computer as your website there are advantages in setting up a subdomain of: ftp.host.com and using that account to host your files or anonymous uploads.</p>
<p>First you are segmenting your accounts. You have a folder that is within your main account that is dedicated to transfer of files. Even if you just link to them from your website you still have a nice way to control where the files go. However if you decide to allow public ftp services you can make a ftp account just for that subdomain.</p>
<p>ftp.host.com user:anonymous pass:none<br />
you could even dedicate that account to a Public folder within the ftp subdomain account</p>
<p>ftp.host.com user:anonymous FOLDER /public_html/ftp/uploads</p>
<p>and also have an admin account on that subdomain that has full access to all the files on that subdomain.</p>
<p>ftp.host.com user:admin FOLDER /public_html/ftp</p>
<p>Now that is a pretty easy concept but what if your service grows and you end up with 4 computers in your rack just because the load is so high.</p>
<p>One for www.host.com <strong>website services</strong><br />
One for mail.host.com <strong>mail services</strong><br />
One for ftp.host.com <strong>ftp services</strong><br />
One for dns1.host.com <strong>dns services</strong></p>
<p>In all practicality it could end up that way in a remote rack for a popular site or hosting service but in a intranet or corporate setting the presence of many different servers that provide many needs that are not just failover or cluster computers is very likely.</p>
<p>Also in the situation of Mail to a domain you may want to set your dns to accept mail from your main domain.com and use other servers for outgoing smtp.host or reading pop3.host or spit internal and external mail or you may have a number of mail servers that all use the same domain but identify based on port &#8230;. it can get slightly tricky but the main premise is still there.</p>
<p>So although there are reasons for strange domains like del.icio.us</p>
<p>You should also setup your DNS server to address www.icio.us AND icio.us</p>
<p>Type either of those in your browser and see what you get. Better yet ping them and see if you are forwarded to the correct website.</p>
<p>Ping request could not find host icio.us. Please check the name and try again.</p>
<p>This is just a waste</p>
<p>and it is not proper use of the domain name naming system.</p>
<p>They could be losing lots of traffic but maybe they think its not worth their time.</p>
<p>However if you are wondering if you should follow proper naming conventions then think about why they were developed in the first place.</p>
<p>Anyway don&#8217;t be stupid and miss customers or visitors because you didn&#8217;t add a www. CNAME to your settings to catch people and shoot them to your website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/130/howto-dns-naming-conventions-for-your-services-ftp-www-mail.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; Understanding WebServer Http Error Code Information</title>
		<link>http://www.npsites.com/148/howto-understanding-webserver-http-error-code-information.html</link>
		<comments>http://www.npsites.com/148/howto-understanding-webserver-http-error-code-information.html#comments</comments>
		<pubDate>Wed, 04 Mar 2009 20:38:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=148</guid>
		<description><![CDATA[When reading your WebServer logs you can sometimes come across some Errors that are not  usual. For the most part you will see 500&#8242;s for script execution problems, 404&#8242;s For files not found or 301&#8242;s for permanently moved files but every once in a while you come across a strange one. Most servers follow the [...]]]></description>
			<content:encoded><![CDATA[<p>When reading your WebServer logs you can sometimes come across some Errors that are not  usual.</p>
<p>For the most part you will see 500&#8242;s for script execution problems, 404&#8242;s For files not found or 301&#8242;s for permanently moved files but every once in a while you come across a strange one.</p>
<p>Most servers follow the same Error Codes so it doesn&#8217;t matter if you are running Apache or IIS or another web server.</p>
<hr />
<h3><a id="sec10.1.1"></a>100 Continue</h3>
<p>The client SHOULD continue with its request. This interim response is    used to inform the client that the initial part of the request has    been received and has not yet been rejected by the server. The client    SHOULD continue by sending the remainder of the request or, if the    request has already been completed, ignore this response. The server    MUST send a final response after the request has been completed.</p>
<h3><a id="sec10.1.2"></a>101 Switching Protocols</h3>
<p>The server understands and is willing to comply with the client&#8217;s    request, via the Upgrade message header field (section 14.42), for a    change in the application protocol being used on this connection. The    server will switch protocols to those defined by the response&#8217;s    Upgrade header field immediately after the empty line which    terminates the 101 response.</p>
<p>The protocol SHOULD be switched only when it is advantageous to do    so. For example, switching to a newer version of HTTP is advantageous    over older versions, and switching to a real-time, synchronous    protocol might be advantageous when delivering resources that use    such features.</p>
<h2><a id="sec10.2"></a>Successful 2xx</h2>
<p>This class of status code indicates that the client&#8217;s request was    successfully received, understood, and accepted.</p>
<h3><a id="sec10.2.1"></a>200 OK</h3>
<p>The request has succeeded. The information returned with the response    is dependent on the method used in the request, for example:</p>
<p>GET    an entity corresponding to the requested resource is sent in           the response;</p>
<p>HEAD   the entity-header fields corresponding to the requested           resource are sent in the response without any message-body;</p>
<p>POST   an entity describing or containing the result of the action;</p>
<p>TRACE  an entity containing the request message as received by the           end server.</p>
<h3><a id="sec10.2.2"></a>201 Created</h3>
<p>The request has been fulfilled and resulted in a new resource being    created. The newly created resource can be referenced by the URI(s)    returned in the entity of the response, with the most specific URI    for the resource given by a Location header field. The response    SHOULD include an entity containing a list of resource    characteristics and location(s) from which the user or user agent can    choose the one most appropriate. The entity format is specified by    the media type given in the Content-Type header field. The origin    server MUST create the resource before returning the 201 status code.    If the action cannot be carried out immediately, the server SHOULD    respond with 202 (Accepted) response instead.</p>
<p>A 201 response MAY contain an ETag response header field indicating    the current value of the entity tag for the requested variant just    created.</p>
<h3><a id="sec10.2.3"></a>202 Accepted</h3>
<p>The request has been accepted for processing, but the processing has    not been completed.  The request might or might not eventually be    acted upon, as it might be disallowed when processing actually takes    place. There is no facility for re-sending a status code from an    asynchronous operation such as this.</p>
<p>The 202 response is intentionally non-committal. Its purpose is to    allow a server to accept a request for some other process (perhaps a    batch-oriented process that is only run once per day) without    requiring that the user agent&#8217;s connection to the server persist    until the process is completed. The entity returned with this    response SHOULD include an indication of the request&#8217;s current status    and either a pointer to a status monitor or some estimate of when the    user can expect the request to be fulfilled.</p>
<h3><a id="sec10.2.4"></a>203 Non-Authoritative Information</h3>
<p>The returned metainformation in the entity-header is not the    definitive set as available from the origin server, but is gathered    from a local or a third-party copy. The set presented MAY be a subset    or superset of the original version. For example, including local    annotation information about the resource might result in a superset    of the metainformation known by the origin server. Use of this    response code is not required and is only appropriate when the    response would otherwise be 200 (OK).</p>
<h3><a id="sec10.2.5"></a>204 No Content</h3>
<p>The server has fulfilled the request but does not need to return an    entity-body, and might want to return updated metainformation. The    response MAY include new or updated metainformation in the form of    entity-headers, which if present SHOULD be associated with the    requested variant.</p>
<p>If the client is a user agent, it SHOULD NOT change its document view    from that which caused the request to be sent. This response is    primarily intended to allow input for actions to take place without    causing a change to the user agent&#8217;s active document view, although    any new or updated metainformation SHOULD be applied to the document    currently in the user agent&#8217;s active view.</p>
<p>The 204 response MUST NOT include a message-body, and thus is always    terminated by the first empty line after the header fields.</p>
<h3><a id="sec10.2.6"></a>205 Reset Content</h3>
<p>The server has fulfilled the request and the user agent SHOULD reset    the document view which caused the request to be sent. This response    is primarily intended to allow input for actions to take place via    user input, followed by a clearing of the form in which the input is    given so that the user can easily initiate another input action. The    response MUST NOT include an entity.</p>
<h3><a id="sec10.2.7"></a>206 Partial Content</h3>
<p>The server has fulfilled the partial GET request for the resource.    The request MUST have included a Range header field (section 14.35)    indicating the desired range, and MAY have included an If-Range    header field to make the request conditional.</p>
<p>The response MUST include the following header fields:</p>
<pre>      - Either a Content-Range header field (section 14.16) indicating
        the range included with this response, or a multipart/byteranges
        Content-Type including Content-Range fields for each part. If a
        Content-Length header field is present in the response, its
        value MUST match the actual number of OCTETs transmitted in the
        message-body.</pre>
<pre>      - Date</pre>
<pre>      - ETag and/or Content-Location, if the header would have been sent
        in a 200 response to the same request</pre>
<pre>      - Expires, Cache-Control, and/or Vary, if the field-value might
        differ from that sent in any previous response for the same
        variant</pre>
<p>If the 206 response is the result of an If-Range request that used a    strong cache validator (see section 13.3.3), the response SHOULD NOT    include other entity-headers. If the response is the result of an    If-Range request that used a weak validator, the response MUST NOT    include other entity-headers; this prevents inconsistencies between    cached entity-bodies and updated headers. Otherwise, the response    MUST include all of the entity-headers that would have been returned    with a 200 (OK) response to the same request.</p>
<p>A cache MUST NOT combine a 206 response with other previously cached    content if the ETag or Last-Modified headers do not match exactly,</p>
<p>A cache that does not support the Range and Content-Range headers    MUST NOT cache 206 (Partial) responses.</p>
<h2><a id="sec10.3"></a>Redirection 3xx</h2>
<p>This class of status code indicates that further action needs to be    taken by the user agent in order to fulfill the request.  The action    required MAY be carried out by the user agent without interaction    with the user if and only if the method used in the second request is    GET or HEAD. A client SHOULD detect infinite redirection loops, since    such loops generate network traffic for each redirection.</p>
<pre>      Note: previous versions of this specification recommended a
      maximum of five redirections. Content developers should be aware
      that there might be clients that implement such a fixed
      limitation.</pre>
<h3><a id="sec10.3.1"></a>300 Multiple Choices</h3>
<p>The requested resource corresponds to any one of a set of    representations, each with its own specific location, and agent-    driven negotiation information (section 12) is being provided so that    the user (or user agent) can select a preferred representation and    redirect its request to that location.</p>
<p>Unless it was a HEAD request, the response SHOULD include an entity    containing a list of resource characteristics and location(s) from    which the user or user agent can choose the one most appropriate. The    entity format is specified by the media type given in the Content-    Type header field. Depending upon the format and the capabilities of</p>
<p>the user agent, selection of the most appropriate choice MAY be    performed automatically. However, this specification does not define    any standard for such automatic selection.</p>
<p>If the server has a preferred choice of representation, it SHOULD    include the specific URI for that representation in the Location    field; user agents MAY use the Location field value for automatic    redirection. This response is cacheable unless indicated otherwise.</p>
<h3><a id="sec10.3.2"></a>301 Moved Permanently</h3>
<p>The requested resource has been assigned a new permanent URI and any    future references to this resource SHOULD use one of the returned    URIs.  Clients with link editing capabilities ought to automatically    re-link references to the Request-URI to one or more of the new    references returned by the server, where possible. This response is    cacheable unless indicated otherwise.</p>
<p>The new permanent URI SHOULD be given by the Location field in the    response. Unless the request method was HEAD, the entity of the    response SHOULD contain a short hypertext note with a hyperlink to    the new URI(s).</p>
<p>If the 301 status code is received in response to a request other    than GET or HEAD, the user agent MUST NOT automatically redirect the    request unless it can be confirmed by the user, since this might    change the conditions under which the request was issued.</p>
<pre>      Note: When automatically redirecting a POST request after
      receiving a 301 status code, some existing HTTP/1.0 user agents
      will erroneously change it into a GET request.</pre>
<h3><a id="sec10.3.3"></a>302 Found</h3>
<p>The requested resource resides temporarily under a different URI.    Since the redirection might be altered on occasion, the client SHOULD    continue to use the Request-URI for future requests.  This response    is only cacheable if indicated by a Cache-Control or Expires header    field.</p>
<p>The temporary URI SHOULD be given by the Location field in the    response. Unless the request method was HEAD, the entity of the    response SHOULD contain a short hypertext note with a hyperlink to    the new URI(s).</p>
<p>If the 302 status code is received in response to a request other    than GET or HEAD, the user agent MUST NOT automatically redirect the    request unless it can be confirmed by the user, since this might    change the conditions under which the request was issued.</p>
<pre>      Note: RFC 1945 and RFC 2068 specify that the client is not allowed
      to change the method on the redirected request.  However, most
      existing user agent implementations treat 302 as if it were a 303
      response, performing a GET on the Location field-value regardless
      of the original request method. The status codes 303 and 307 have
      been added for servers that wish to make unambiguously clear which
      kind of reaction is expected of the client.</pre>
<h3><a id="sec10.3.4"></a>303 See Other</h3>
<p>The response to the request can be found under a different URI and    SHOULD be retrieved using a GET method on that resource. This method    exists primarily to allow the output of a POST-activated script to    redirect the user agent to a selected resource. The new URI is not a    substitute reference for the originally requested resource. The 303    response MUST NOT be cached, but the response to the second    (redirected) request might be cacheable.</p>
<p>The different URI SHOULD be given by the Location field in the    response. Unless the request method was HEAD, the entity of the    response SHOULD contain a short hypertext note with a hyperlink to    the new URI(s).</p>
<pre>      Note: Many pre-HTTP/1.1 user agents do not understand the 303
      status. When interoperability with such clients is a concern, the
      302 status code may be used instead, since most user agents react
      to a 302 response as described here for 303.</pre>
<h3><a id="sec10.3.5"></a>304 Not Modified</h3>
<p>If the client has performed a conditional GET request and access is    allowed, but the document has not been modified, the server SHOULD    respond with this status code. The 304 response MUST NOT contain a    message-body, and thus is always terminated by the first empty line    after the header fields.</p>
<p>The response MUST include the following header fields:</p>
<pre>      - Date, unless its omission is required by section 14.18.1</pre>
<p>If a clockless origin server obeys these rules, and proxies and    clients add their own Date to any response received without one (as    already specified by [RFC 2068], ), caches will operate    correctly.</p>
<pre>      - ETag and/or Content-Location, if the header would have been sent
        in a 200 response to the same request</pre>
<pre>      - Expires, Cache-Control, and/or Vary, if the field-value might
        differ from that sent in any previous response for the same
        variant</pre>
<p>If the conditional GET used a strong cache validator (see section    13.3.3), the response SHOULD NOT include other entity-headers.    Otherwise (i.e., the conditional GET used a weak validator), the    response MUST NOT include other entity-headers; this prevents    inconsistencies between cached entity-bodies and updated headers.</p>
<p>If a 304 response indicates an entity not currently cached, then the    cache MUST disregard the response and repeat the request without the    conditional.</p>
<p>If a cache uses a received 304 response to update a cache entry, the    cache MUST update the entry to reflect any new field values given in    the response.</p>
<h3><a id="sec10.3.6"></a>305 Use Proxy</h3>
<p>The requested resource MUST be accessed through the proxy given by    the Location field. The Location field gives the URI of the proxy.    The recipient is expected to repeat this single request via the    proxy. 305 responses MUST only be generated by origin servers.</p>
<pre>      Note: RFC 2068 was not clear that 305 was intended to redirect a
      single request, and to be generated by origin servers only.  Not
      observing these limitations has significant security consequences.</pre>
<h3><a id="sec10.3.7"></a>306 (Unused)</h3>
<p>The 306 status code was used in a previous version of the    specification, is no longer used, and the code is reserved.</p>
<h3><a id="sec10.3.8"></a>307 Temporary Redirect</h3>
<p>The requested resource resides temporarily under a different URI.    Since the redirection MAY be altered on occasion, the client SHOULD    continue to use the Request-URI for future requests.  This response    is only cacheable if indicated by a Cache-Control or Expires header    field.</p>
<p>The temporary URI SHOULD be given by the Location field in the    response. Unless the request method was HEAD, the entity of the    response SHOULD contain a short hypertext note with a hyperlink to    the new URI(s) , since many pre-HTTP/1.1 user agents do not    understand the 307 status. Therefore, the note SHOULD contain the    information necessary for a user to repeat the original request on    the new URI.</p>
<p>If the 307 status code is received in response to a request other    than GET or HEAD, the user agent MUST NOT automatically redirect the    request unless it can be confirmed by the user, since this might    change the conditions under which the request was issued.</p>
<h2><a id="sec10.4"></a>Client Error 4xx</h2>
<p>The 4xx class of status code is intended for cases in which the    client seems to have erred. Except when responding to a HEAD request,    the server SHOULD include an entity containing an explanation of the    error situation, and whether it is a temporary or permanent    condition. These status codes are applicable to any request method.    User agents SHOULD display any included entity to the user.</p>
<p>If the client is sending data, a server implementation using TCP    SHOULD be careful to ensure that the client acknowledges receipt of    the packet(s) containing the response, before the server closes the    input connection. If the client continues sending data to the server    after the close, the server&#8217;s TCP stack will send a reset packet to    the client, which may erase the client&#8217;s unacknowledged input buffers    before they can be read and interpreted by the HTTP application.</p>
<h3><a id="sec10.4.1"></a>400 Bad Request</h3>
<p>The request could not be understood by the server due to malformed    syntax. The client SHOULD NOT repeat the request without    modifications.</p>
<h3><a id="sec10.4.2"></a>401 Unauthorized</h3>
<p>The request requires user authentication. The response MUST include a    WWW-Authenticate header field (section 14.47) containing a challenge    applicable to the requested resource. The client MAY repeat the    request with a suitable Authorization header field). If    the request already included Authorization credentials, then the 401    response indicates that authorization has been refused for those    credentials. If the 401 response contains the same challenge as the    prior response, and the user agent has already attempted    authentication at least once, then the user SHOULD be presented the    entity that was given in the response, since that entity might    include relevant diagnostic information. HTTP access authentication    is explained in &#8220;HTTP Authentication: Basic and Digest Access    Authentication&#8221;.</p>
<h3><a id="sec10.4.3"></a>402 Payment Required</h3>
<p>This code is reserved for future use.</p>
<h3><a id="sec10.4.4"></a>403 Forbidden</h3>
<p>The server understood the request, but is refusing to fulfill it.    Authorization will not help and the request SHOULD NOT be repeated.    If the request method was not HEAD and the server wishes to make    public why the request has not been fulfilled, it SHOULD describe the    reason for the refusal in the entity.  If the server does not wish to    make this information available to the client, the status code 404    (Not Found) can be used instead.</p>
<h3><a id="sec10.4.5"></a>404 Not Found</h3>
<p>The server has not found anything matching the Request-URI. No    indication is given of whether the condition is temporary or    permanent. The 410 (Gone) status code SHOULD be used if the server    knows, through some internally configurable mechanism, that an old    resource is permanently unavailable and has no forwarding address.    This status code is commonly used when the server does not wish to    reveal exactly why the request has been refused, or when no other    response is applicable.</p>
<h3><a id="sec10.4.6"></a>405 Method Not Allowed</h3>
<p>The method specified in the Request-Line is not allowed for the    resource identified by the Request-URI. The response MUST include an    Allow header containing a list of valid methods for the requested    resource.</p>
<h3><a id="sec10.4.7"></a>406 Not Acceptable</h3>
<p>The resource identified by the request is only capable of generating    response entities which have content characteristics not acceptable    according to the accept headers sent in the request.</p>
<p>Unless it was a HEAD request, the response SHOULD include an entity    containing a list of available entity characteristics and location(s)    from which the user or user agent can choose the one most    appropriate. The entity format is specified by the media type given    in the Content-Type header field. Depending upon the format and the    capabilities of the user agent, selection of the most appropriate    choice MAY be performed automatically. However, this specification    does not define any standard for such automatic selection.</p>
<pre>      Note: HTTP/1.1 servers are allowed to return responses which are
      not acceptable according to the accept headers sent in the
      request. In some cases, this may even be preferable to sending a
      406 response. User agents are encouraged to inspect the headers of
      an incoming response to determine if it is acceptable.</pre>
<p>If the response could be unacceptable, a user agent SHOULD    temporarily stop receipt of more data and query the user for a    decision on further actions.</p>
<h3><a id="sec10.4.8"></a>407 Proxy Authentication Required</h3>
<p>This code is similar to 401 (Unauthorized), but indicates that the    client must first authenticate itself with the proxy. The proxy MUST    return a Proxy-Authenticate header field  containing a    challenge applicable to the proxy for the requested resource. The    client MAY repeat the request with a suitable Proxy-Authorization    header field  HTTP access authentication is explained    in &#8220;HTTP Authentication: Basic and Digest Access Authentication&#8221;</p>
<h3><a id="sec10.4.9"></a>408 Request Timeout</h3>
<p>The client did not produce a request within the time that the server    was prepared to wait. The client MAY repeat the request without    modifications at any later time.</p>
<h3><a id="sec10.4.10"></a>409 Conflict</h3>
<p>The request could not be completed due to a conflict with the current    state of the resource. This code is only allowed in situations where    it is expected that the user might be able to resolve the conflict    and resubmit the request. The response body SHOULD include enough</p>
<p>information for the user to recognize the source of the conflict.    Ideally, the response entity would include enough information for the    user or user agent to fix the problem; however, that might not be    possible and is not required.</p>
<p>Conflicts are most likely to occur in response to a PUT request. For    example, if versioning were being used and the entity being PUT    included changes to a resource which conflict with those made by an    earlier (third-party) request, the server might use the 409 response    to indicate that it can&#8217;t complete the request. In this case, the    response entity would likely contain a list of the differences    between the two versions in a format defined by the response    Content-Type.</p>
<h3><a id="sec10.4.11"></a>410 Gone</h3>
<p>The requested resource is no longer available at the server and no    forwarding address is known. This condition is expected to be    considered permanent. Clients with link editing capabilities SHOULD    delete references to the Request-URI after user approval. If the    server does not know, or has no facility to determine, whether or not    the condition is permanent, the status code 404 (Not Found) SHOULD be    used instead. This response is cacheable unless indicated otherwise.</p>
<p>The 410 response is primarily intended to assist the task of web    maintenance by notifying the recipient that the resource is    intentionally unavailable and that the server owners desire that    remote links to that resource be removed. Such an event is common for    limited-time, promotional services and for resources belonging to    individuals no longer working at the server&#8217;s site. It is not    necessary to mark all permanently unavailable resources as &#8220;gone&#8221; or    to keep the mark for any length of time &#8212; that is left to the    discretion of the server owner.</p>
<h3><a id="sec10.4.12"></a>411 Length Required</h3>
<p>The server refuses to accept the request without a defined Content-    Length. The client MAY repeat the request if it adds a valid    Content-Length header field containing the length of the message-body    in the request message.</p>
<h3><a id="sec10.4.13"></a>412 Precondition Failed</h3>
<p>The precondition given in one or more of the request-header fields    evaluated to false when it was tested on the server. This response    code allows the client to place preconditions on the current resource    metainformation (header field data) and thus prevent the requested    method from being applied to a resource other than the one intended.</p>
<h3><a id="sec10.4.14"></a>413 Request Entity Too Large</h3>
<p>The server is refusing to process a request because the request    entity is larger than the server is willing or able to process. The    server MAY close the connection to prevent the client from continuing    the request.</p>
<p>If the condition is temporary, the server SHOULD include a Retry-    After header field to indicate that it is temporary and after what    time the client MAY try again.</p>
<h3><a id="sec10.4.15"></a>414 Request-URI Too Long</h3>
<p>The server is refusing to service the request because the Request-URI    is longer than the server is willing to interpret. This rare    condition is only likely to occur when a client has improperly    converted a POST request to a GET request with long query    information, when the client has descended into a URI &#8220;black hole&#8221; of    redirection (e.g., a redirected URI prefix that points to a suffix of    itself), or when the server is under attack by a client attempting to    exploit security holes present in some servers using fixed-length    buffers for reading or manipulating the Request-URI.</p>
<h3><a id="sec10.4.16"></a>415 Unsupported Media Type</h3>
<p>The server is refusing to service the request because the entity of    the request is in a format not supported by the requested resource    for the requested method.</p>
<h3><a id="sec10.4.17"></a>416 Requested Range Not Satisfiable</h3>
<p>A server SHOULD return a response with this status code if a request    included a Range request-header field (section 14.35), and none of    the range-specifier values in this field overlap the current extent    of the selected resource, and the request did not include an If-Range    request-header field. (For byte-ranges, this means that the first-    byte-pos of all of the byte-range-spec values were greater than the    current length of the selected resource.)</p>
<p>When this status code is returned for a byte-range request, the    response SHOULD include a Content-Range entity-header field    specifying the current length of the selected resource (see section ). This response MUST NOT use the multipart/byteranges content-    type.</p>
<h3><a id="sec10.4.18"></a>417 Expectation Failed</h3>
<p>The expectation given in an Expect request-header field (see section    14.20) could not be met by this server, or, if the server is a proxy,    the server has unambiguous evidence that the request could not be met    by the next-hop server.</p>
<h2><a id="sec10.5"></a>Server Error 5xx</h2>
<p>Response status codes beginning with the digit &#8220;5&#8243; indicate cases in    which the server is aware that it has erred or is incapable of    performing the request. Except when responding to a HEAD request, the    server SHOULD include an entity containing an explanation of the    error situation, and whether it is a temporary or permanent    condition. User agents SHOULD display any included entity to the    user. These response codes are applicable to any request method.</p>
<h3><a id="sec10.5.1"></a>500 Internal Server Error</h3>
<p>The server encountered an unexpected condition which prevented it    from fulfilling the request.</p>
<h3><a id="sec10.5.2"></a>501 Not Implemented</h3>
<p>The server does not support the functionality required to fulfill the    request. This is the appropriate response when the server does not    recognize the request method and is not capable of supporting it for    any resource.</p>
<h3><a id="sec10.5.3"></a>502 Bad Gateway</h3>
<p>The server, while acting as a gateway or proxy, received an invalid    response from the upstream server it accessed in attempting to    fulfill the request.</p>
<h3><a id="sec10.5.4"></a>503 Service Unavailable</h3>
<p>The server is currently unable to handle the request due to a    temporary overloading or maintenance of the server. The implication    is that this is a temporary condition which will be alleviated after    some delay. If known, the length of the delay MAY be indicated in a    Retry-After header. If no Retry-After is given, the client SHOULD    handle the response as it would for a 500 response.</p>
<pre>      Note: The existence of the 503 status code does not imply that a
      server must use it when becoming overloaded. Some servers may wish
      to simply refuse the connection.</pre>
<h3><a id="sec10.5.5"></a>504 Gateway Timeout</h3>
<p>The server, while acting as a gateway or proxy, did not receive a    timely response from the upstream server specified by the URI (e.g.    HTTP, FTP, LDAP) or some other auxiliary server (e.g. DNS) it needed    to access in attempting to complete the request.</p>
<pre>      Note: Note to implementors: some deployed proxies are known to
      return 400 or 500 when DNS lookups time out.</pre>
<h3><a id="sec10.5.6"></a>505 HTTP Version Not Supported</h3>
<p>The server does not support, or refuses to support, the HTTP protocol    version that was used in the request message. The server is    indicating that it is unable or unwilling to complete the request    using the same major version as the client, other than with this error message. The response SHOULD contain    an entity describing why that version is not supported and what other    protocols are supported by that server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/148/howto-understanding-webserver-http-error-code-information.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo &#8211; Prevent Hotlinking To Your Image Files With htaccess</title>
		<link>http://www.npsites.com/173/howto-prevent-hotlinking-to-your-image-files-with-htaccess.html</link>
		<comments>http://www.npsites.com/173/howto-prevent-hotlinking-to-your-image-files-with-htaccess.html#comments</comments>
		<pubDate>Sun, 29 Mar 2009 17:26:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=173</guid>
		<description><![CDATA[Not every site owner wants to restrict access to the images on their site but sometimes you have a reason to do so. You may have a site that has a number of copyright images such as a news or gossip site but for whatever reason you choose you can at least reduce the reuse [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-174" title="apache_logo_125px" src="http://www.npsites.com/npsblog/wp-content/uploads/2009/03/apache_logo_125px.jpg" alt="apache_logo_125px" width="125" height="119" />Not every site owner wants to restrict access to the images on their site but sometimes you have a reason to do so.</p>
<p>You may have a site that has a number of copyright images such as a news or gossip site but for whatever reason you choose you can at least reduce the reuse of your image by others simply linking to them.</p>
<p>Many sites will already have a .htaccess file if you don&#8217;t then you will need to create one.</p>
<p>The .htaccess file is used for many reasons to give instruction to your webserver on how to process files.</p>
<p>Whenever the webserver accesses your account directory it will look for one of these files. If it is in the top directory then it will apply the commands to all sub-directories unless only specific directories are named in the .htaccess file setup.</p>
<p>Because the windows file system is picky about files with no prefix ie no prefix.something you will most likely need to create the file with one then rename it once it is on your server.</p>
<p>Start by making a new NotePad file named x.htaccess or open your current one for editing</p>
<p><strong>Add the following</strong></p>
<p>lines with # are comment lines<br />
the first line requests modrewrite to be ON you may not need that on your specific server.</p>
<pre style="padding:10px;border:1px solid #222222">RewriteEngine On
#Replace ?yoursite\.com/ with your website url
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?yoursite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
#Replace /images/dontcopy.jpg with the url of your copyright image
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/dontcopy.jpg [L]</pre>
<p>This code will tell the server that only yoursite.com is allowed to use your images.</p>
<p>If someone else links to your images like<br />
<img src="www.yoursite.com/images/chicken.jpg" alt="" /><br />
they will be sent your copyright.jpg image</p>
<p>You should make an image that says something like visit yoursite.com for stuff.</p>
<p>If you only want to stop a few specific sites use the following</p>
<pre style="padding:10px;border:1px solid #222222">RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?myspace\.com/ [NC,<span style="color: #0000ff;">OR</span>]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?blogspot\.com/ [NC,<span style="color: #0000ff;">OR</span>]
RewriteCond %{HTTP_REFERER} ^http://(.+\.)?livejournal\.com/ [NC]
#Replace /images/dontcopy.jpg with the url of your copyright image
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/dontcopy.jpg [L]</pre>
<p>Add more sites by using the <span style="color: #0000ff;">OR</span> command and on the final site do not add OR.</p>
<p>So this Rule says stop Myspace OR blogspot OR livejournal and end site list.</p>
<p><strong>Make sure you upload the file as Ascii and then rename it to .htaccess </strong></p>
<p><strong>Final Note </strong></p>
<p>Doing this can cause trouble if you want to allow other specific sites access to your images.  And it will not stop people from manually downloading your images and using them.</p>
<p>If you have cPanel, Plesk or another control panel for your website there may be a feature to generate this file through a web interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/173/howto-prevent-hotlinking-to-your-image-files-with-htaccess.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon EC2 Web Services Are They The Future For The Web?</title>
		<link>http://www.npsites.com/200/amazon-ec2-web-services-are-they-the-future-for-the-web.html</link>
		<comments>http://www.npsites.com/200/amazon-ec2-web-services-are-they-the-future-for-the-web.html#comments</comments>
		<pubDate>Fri, 03 Apr 2009 18:22:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Site Management]]></category>

		<guid isPermaLink="false">http://www.npsites.com/?p=200</guid>
		<description><![CDATA[There are a number of large business now using the Amazon backend services to provide powerful computing power for their web services. Cloud Computing, Shared Computing and other type processes are nothing new to computer technology.  In the very early stages most companies that needed access to large and powerful processors would use a remote [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-67" title="amazon_logo" src="http://www.npsites.com/npsblog/wp-content/uploads/2009/01/amazon_logo.jpg" alt="amazon_logo" width="204" height="52" />There are a number of large business now using the Amazon backend services to provide powerful computing power for their web services.</p>
<p>Cloud Computing, Shared Computing and other type processes are nothing new to computer technology.  In the very early stages most companies that needed access to large and powerful processors would use a remote terminal to log into a server. The tasks at that time were relatively simplistic compared to today&#8217;s standards.</p>
<p>In the past 15 years we have seen computer network backends go from mainframes to individual servers then clustered servers then blade servers and now cloud computing. There was also a progression of single core single processor computers to multi processor motherboards now multi core and multi processor computers and finally cloud computing that supposedly strings all of this together in one large mass.</p>
<p>The idea is similar to the borg where computing resources are assimilated and the collective (cloud) works as a master server. heh well its something like that.</p>
<p><strong>Is Amazon Alone?</strong><br />
Cloud computing is now making its way into standard hosting companies and under utilized equipment is now being put to good use. But does this mean that along with overselling we will now see a handful of clients stealing available processes from standard accounts? Will your website be knocked offline or perform at a lower level because large clients need your servers brain power? This is probably likely.</p>
<p>If you want to findout more about EC2 products visit Amazon&#8217;s Webservices Site</p>
<p><a href="http://aws.amazon.com/" target="_blank">http://aws.amazon.com/</a></p>
<p>For more information about cloud computing for standard customers visit RackSpace</p>
<p><a href="http://www.rackspace.com" target="_blank">http://www.rackspace.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.npsites.com/200/amazon-ec2-web-services-are-they-the-future-for-the-web.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
