<?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>Webmaster Sucks &#187; directory listing</title>
	<atom:link href="http://www.webmastersucks.com/tags/directory-listing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmastersucks.com</link>
	<description>Here I share stuff I used to suck at as a novice webmaster..</description>
	<lastBuildDate>Mon, 13 Jun 2011 06:39:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Deny Directory Listing in .htaccess</title>
		<link>http://www.webmastersucks.com/deny-directory-listing-in-htaccess/</link>
		<comments>http://www.webmastersucks.com/deny-directory-listing-in-htaccess/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 18:25:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[deny directory]]></category>
		<category><![CDATA[directory listing]]></category>
		<category><![CDATA[directoryindex]]></category>
		<category><![CDATA[disable directory]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.webmastersucks.com/?p=108</guid>
		<description><![CDATA[
			
				
			
		
Some webmasters upload a blank index.html for dont index directories. Thats a way of listing directories. But htaccess is more easier solution for this. Just add this code to your .htaccess file
Options -Indexes
Allow directory index, remove the that code or change
Options +Indexes
If you want to list files in directory, but except some of filetypes. Example [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webmastersucks.com%2Fdeny-directory-listing-in-htaccess%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webmastersucks.com%2Fdeny-directory-listing-in-htaccess%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Some webmasters upload a blank index.html for dont index directories. Thats a way of listing directories. But htaccess is more easier solution for this. Just add this code to your .htaccess file</p>
<pre class="brush: plain; title: ;">Options -Indexes</pre>
<p>Allow directory index, remove the that code or change</p>
<pre class="brush: plain; title: ;">Options +Indexes</pre>
<p>If you want to list files in directory, but except some of filetypes. Example this code is ignoring zip and rar files.</p>
<pre class="brush: plain; title: ;">IndexIgnore *.zip *.rar</pre>
<p> <span>You can disable directory indexing with indexignore too</span></p>
<p><span>
<pre class="brush: plain; title: ;">IndexIgnore *</pre>
<p> <span>Another way is changing the directory index file</span></p>
<p></span><span>
<pre class="brush: plain; title: ;">DirectoryIndex this_my_index_file.html</pre>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webmastersucks.com/deny-directory-listing-in-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

