<?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>IvyCat Website Services &#187; tips and tricks</title>
	<atom:link href="http://www.ivycat.com/tag/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ivycat.com</link>
	<description>Web Hosting, Design &#38; Development</description>
	<lastBuildDate>Fri, 14 May 2010 22:49:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Creating Custom Error Pages Using .htaccess</title>
		<link>http://www.ivycat.com/2009/07/creating-custom-error-pages-using-htaccess/</link>
		<comments>http://www.ivycat.com/2009/07/creating-custom-error-pages-using-htaccess/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 00:04:15 +0000</pubDate>
		<dc:creator>Sara</dc:creator>
				<category><![CDATA[Knowledgebase]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://www.ivycat.com/cms/?p=678</guid>
		<description><![CDATA[Create custom website error pages by editing the Apache .htaccess file.]]></description>
			<content:encoded><![CDATA[<h4><strong>How to create custom error pages by editing the .htaccess file:</strong></h4>
<p>First, edit an .htaccess file in your public_html directory so that it contains the following lines:<br />
<code><br />
ErrorDocument 404 /myerrors/404.html<br />
ErrorDocument 403 /myerrors/403.html<br />
ErrorDocument 500 /myerrors/500.html</code></p>
<p><strong>We&#8217;ll explain what each piece is:</strong></p>
<ul>
<li><strong> ErrorDocument:</strong> This command tells Apache that this is the error document to use for this directory and all subdirectories, unless otherwise specified.</li>
<li><strong>404</strong> <strong>(403 and 500): </strong>These represent the error code(s) for which Apache will serve custom error pages.  If you just want a custom 404 page, you only need the first line.</li>
<li><strong>/myerrors/404.html (403.html and 500.html):</strong> The path to the document on your site that should be used when this error occurs. In this example, the error documents are located within the <code>/public_html/myerrors/</code> directory. Please note that you need the / at the beginning so that the web server knows to start at /public_html/</li>
</ul>
<p>If you use a path to the document like <code>/myerrors/404.html</code>, the URL in the browser will remain the same, but the error page is shown. If you wish to show the URL of the error page instead, simply use the complete URL to the error page. The example below shows how to do this for the 404 (file not found) error:</p>
<p><code>ErrorDocument 404 http://www.yourdomain.com/myerrors/404.html</code></p>
<p>If your error page doesn&#8217;t come up that after doing this, check spelling, capitalization, and the path or url of the error document to make sure it&#8217;s correct. If it is, try adding more content to the error page. Some browsers are set so that if there isn&#8217;t enough content in the error page, they use their own default error page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ivycat.com/2009/07/creating-custom-error-pages-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prohibit Browsing of Folders on Your Site Using .htaccess</title>
		<link>http://www.ivycat.com/2009/07/prohibit-browsing-of-folders-on-your-site-using-htaccess/</link>
		<comments>http://www.ivycat.com/2009/07/prohibit-browsing-of-folders-on-your-site-using-htaccess/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 23:48:39 +0000</pubDate>
		<dc:creator>Sara</dc:creator>
				<category><![CDATA[Knowledgebase]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips and tricks]]></category>

		<guid isPermaLink="false">http://www.ivycat.com/cms/?p=729</guid>
		<description><![CDATA[Don't want people seeing all the files you have in a directory?]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t want people seeing all the files you have in a directory when you don&#8217;t have an index page there?</p>
<p>To stop directory listings from showing up, add the following line inside an .htaccess file placed in the directory you wish to protect:</p>
<p><code>Options -Indexes</code></p>
<p>Alternatively, you can upload a blank page named index.html to the directory you&#8217;d like to protect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ivycat.com/2009/07/prohibit-browsing-of-folders-on-your-site-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
