<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: How to Prevent Directory Listing</title>
	<atom:link href="http://www.tech-evangelist.com/2008/02/13/protect-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-evangelist.com/2008/02/13/protect-directory/</link>
	<description>Technical Articles, Musings and Opinions from Tech-Evangelist</description>
	<lastBuildDate>Wed, 21 Jul 2010 17:18:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Ryan</title>
		<link>http://www.tech-evangelist.com/2008/02/13/protect-directory/comment-page-1/#comment-10327</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 05 Feb 2009 22:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2008/02/13/protect-directory/#comment-10327</guid>
		<description>IIS has an option in the home directory tab to prevent directory indexing by unchecking the option.  Optionally (if you are a little more advanced with .htaccess or are willing to experiment) you can create a rewrite for each directory you don&#039;t want browsed.  If you write it correctly, it will only rewrite the root directory and won&#039;t rewrite for access to files within the directory.  Why do this?  Some people try to find more general info by removing the end of a url.  If you create a rewrite to relevant information, they will get a friendly page instead of a 403 error without having to create duplicate content.</description>
		<content:encoded><![CDATA[<p>IIS has an option in the home directory tab to prevent directory indexing by unchecking the option.  Optionally (if you are a little more advanced with .htaccess or are willing to experiment) you can create a rewrite for each directory you don&#8217;t want browsed.  If you write it correctly, it will only rewrite the root directory and won&#8217;t rewrite for access to files within the directory.  Why do this?  Some people try to find more general info by removing the end of a url.  If you create a rewrite to relevant information, they will get a friendly page instead of a 403 error without having to create duplicate content.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gizew</title>
		<link>http://www.tech-evangelist.com/2008/02/13/protect-directory/comment-page-1/#comment-10070</link>
		<dc:creator>Gizew</dc:creator>
		<pubDate>Sun, 23 Nov 2008 02:18:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2008/02/13/protect-directory/#comment-10070</guid>
		<description>Thank you. It is a simple and cleaver tutorial.</description>
		<content:encoded><![CDATA[<p>Thank you. It is a simple and cleaver tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brijesh</title>
		<link>http://www.tech-evangelist.com/2008/02/13/protect-directory/comment-page-1/#comment-9871</link>
		<dc:creator>Brijesh</dc:creator>
		<pubDate>Tue, 16 Sep 2008 06:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2008/02/13/protect-directory/#comment-9871</guid>
		<description>Hi Doggie,

Thanks a lot  it worked well...I just copied the code ( IndexIgnore * ) in my .htaccess file and reuploaded to give a try and it worked well.

Thanks very much for your help. Keep wiriting such good articles...I search for this in many website but couldn&#039;t get appropriate answer. Must say a good article. Thanks once again.

Regards

Brijesh</description>
		<content:encoded><![CDATA[<p>Hi Doggie,</p>
<p>Thanks a lot  it worked well&#8230;I just copied the code ( IndexIgnore * ) in my .htaccess file and reuploaded to give a try and it worked well.</p>
<p>Thanks very much for your help. Keep wiriting such good articles&#8230;I search for this in many website but couldn&#8217;t get appropriate answer. Must say a good article. Thanks once again.</p>
<p>Regards</p>
<p>Brijesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doogie</title>
		<link>http://www.tech-evangelist.com/2008/02/13/protect-directory/comment-page-1/#comment-9867</link>
		<dc:creator>Doogie</dc:creator>
		<pubDate>Mon, 15 Sep 2008 13:26:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2008/02/13/protect-directory/#comment-9867</guid>
		<description>Hi Brijesh

It sounds like you are deleting the old index.php file before uploading the new one. Do not delete the old file. Just overwrite it and that should block the listing of the directory. 

The alternative is to block the directory using the .htaccess file. If you add the line of code I mentioned above to the .htaccess file, it should protect your root directory and all subdirectories.</description>
		<content:encoded><![CDATA[<p>Hi Brijesh</p>
<p>It sounds like you are deleting the old index.php file before uploading the new one. Do not delete the old file. Just overwrite it and that should block the listing of the directory. </p>
<p>The alternative is to block the directory using the .htaccess file. If you add the line of code I mentioned above to the .htaccess file, it should protect your root directory and all subdirectories.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brijesh</title>
		<link>http://www.tech-evangelist.com/2008/02/13/protect-directory/comment-page-1/#comment-9866</link>
		<dc:creator>Brijesh</dc:creator>
		<pubDate>Mon, 15 Sep 2008 12:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2008/02/13/protect-directory/#comment-9866</guid>
		<description>I have a simmilar problem as mention in this article. My problem is i keep updating my index.php file and whenever i do that..in the interim of reuploading my index.php file the directory of the website is listed. pls suggest some method to protect the same.</description>
		<content:encoded><![CDATA[<p>I have a simmilar problem as mention in this article. My problem is i keep updating my index.php file and whenever i do that..in the interim of reuploading my index.php file the directory of the website is listed. pls suggest some method to protect the same.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
