<?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: indices: prettying up apache directory listings</title>
	<atom:link href="http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/feed/" rel="self" type="application/rss+xml" />
	<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/</link>
	<description>The Evans Center for Sleep Deprivation Studies</description>
	<lastBuildDate>Thu, 09 Feb 2012 21:48:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: cjjesus</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-3796</link>
		<dc:creator>cjjesus</dc:creator>
		<pubDate>Wed, 04 Jan 2012 19:34:37 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-3796</guid>
		<description>i have a simple .htaccess i been tested:

# For the PHP file to execute in a header, need to have a major type of text
AddType text/html .php
AddHandler application/x-httpd-php .php

IndexOptions FancyIndexing XHTML  FoldersFirst 

HeaderName /css/header.php
ReadmeName /css/footer.php


# custom error documents
ErrorDocument 401 /css/h.php
ErrorDocument 403 /css/403.php
ErrorDocument 404 /css/404.php
ErrorDocument 500 /css/500.php

# or quick custom error &quot;document&quot;..
ErrorDocument 404 &quot;ERROR - BEIF@servererror - 404 There is nothing here.. go away quickly!</description>
		<content:encoded><![CDATA[<p>i have a simple .htaccess i been tested:</p>
<p># For the PHP file to execute in a header, need to have a major type of text<br />
AddType text/html .php<br />
AddHandler application/x-httpd-php .php</p>
<p>IndexOptions FancyIndexing XHTML  FoldersFirst </p>
<p>HeaderName /css/header.php<br />
ReadmeName /css/footer.php</p>
<p># custom error documents<br />
ErrorDocument 401 /css/h.php<br />
ErrorDocument 403 /css/403.php<br />
ErrorDocument 404 /css/404.php<br />
ErrorDocument 500 /css/500.php</p>
<p># or quick custom error &#8220;document&#8221;..<br />
ErrorDocument 404 &#8220;ERROR &#8211; BEIF@servererror &#8211; 404 There is nothing here.. go away quickly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balt</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-2469</link>
		<dc:creator>Balt</dc:creator>
		<pubDate>Fri, 17 Jun 2011 06:54:37 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-2469</guid>
		<description>Looks really nice! Trying to get it to work on OS X 10.6 with apache 2.2.17 and php 5.3.4... looks like the header php does not get executed as php though. Any idea where to start looking?</description>
		<content:encoded><![CDATA[<p>Looks really nice! Trying to get it to work on OS X 10.6 with apache 2.2.17 and php 5.3.4&#8230; looks like the header php does not get executed as php though. Any idea where to start looking?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Johnston</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-2132</link>
		<dc:creator>Adam Johnston</dc:creator>
		<pubDate>Wed, 13 Apr 2011 08:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-2132</guid>
		<description>I came across quite a few solutions to the ugly Apache lists - this is the only one that I got working quickly and effectively. Also, from a tech solution perspective, it is the most elegant!
Many thanks to you sir.</description>
		<content:encoded><![CDATA[<p>I came across quite a few solutions to the ugly Apache lists &#8211; this is the only one that I got working quickly and effectively. Also, from a tech solution perspective, it is the most elegant!<br />
Many thanks to you sir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BenC</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-874</link>
		<dc:creator>BenC</dc:creator>
		<pubDate>Wed, 03 Nov 2010 22:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-874</guid>
		<description>As an intellectual exercise, I&#039;m trying to get this working with mod_python instead of php.  I&#039;m having trouble getting the &quot;HeaderName header.py&quot; to treat header.py as a cgi script.  I&#039;m a bit new to mod_python so I definitely have it set up wrong.  Two Questions: 1. how should /indices/.htaccess be setup and 2. Do I need to call &quot;req.write(&#039;header html here&#039;)&quot; or call &quot;print &#039;header html here&#039;&quot;</description>
		<content:encoded><![CDATA[<p>As an intellectual exercise, I&#8217;m trying to get this working with mod_python instead of php.  I&#8217;m having trouble getting the &#8220;HeaderName header.py&#8221; to treat header.py as a cgi script.  I&#8217;m a bit new to mod_python so I definitely have it set up wrong.  Two Questions: 1. how should /indices/.htaccess be setup and 2. Do I need to call &#8220;req.write(&#8216;header html here&#8217;)&#8221; or call &#8220;print &#8216;header html here&#8217;&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gse</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-573</link>
		<dc:creator>gse</dc:creator>
		<pubDate>Tue, 14 Sep 2010 21:26:52 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-573</guid>
		<description>Ah, that&#039;s a different htaccess file, the &quot;secondary&quot; one. And on my server I &lt;em&gt;do&lt;/em&gt; run with Options -Indexes in that file. I don&#039;t even remember why!</description>
		<content:encoded><![CDATA[<p>Ah, that&#8217;s a different htaccess file, the &#8220;secondary&#8221; one. And on my server I <em>do</em> run with Options -Indexes in that file. I don&#8217;t even remember why!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nitro2k01</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-564</link>
		<dc:creator>nitro2k01</dc:creator>
		<pubDate>Tue, 14 Sep 2010 11:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-564</guid>
		<description>Yep, you did, &lt;a href=&quot;http://ubuntuforums.org/showthread.php?p=4759829#post4759829&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;. Of course, that was probably a typo but I found that thread when Googling for info on HeaderName/ReadmeName. But it&#039;s still incorrect, and RHF ended up &quot;solving&quot; the problem by doing &quot;Options Indexes&quot; and &quot;AllowOverride None&quot; in the Apache config file.

So, anyway, I managed to do what I wanted, and I actually didn&#039;t use Indices, but I rolled my own. Which was my plan from the beginning. I was just looking for info on how to get everything to work. See my tweet for the URL. (Don&#039;t want to add another URL to the comment so it&#039;s marked for moderation :p )</description>
		<content:encoded><![CDATA[<p>Yep, you did, <a href="http://ubuntuforums.org/showthread.php?p=4759829#post4759829" rel="nofollow">here</a>. Of course, that was probably a typo but I found that thread when Googling for info on HeaderName/ReadmeName. But it&#8217;s still incorrect, and RHF ended up &#8220;solving&#8221; the problem by doing &#8220;Options Indexes&#8221; and &#8220;AllowOverride None&#8221; in the Apache config file.</p>
<p>So, anyway, I managed to do what I wanted, and I actually didn&#8217;t use Indices, but I rolled my own. Which was my plan from the beginning. I was just looking for info on how to get everything to work. See my tweet for the URL. (Don&#8217;t want to add another URL to the comment so it&#8217;s marked for moderation :p )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gse</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-560</link>
		<dc:creator>gse</dc:creator>
		<pubDate>Tue, 14 Sep 2010 04:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-560</guid>
		<description>Did I write -Indexes somewhere? Hm, that does seem wrong. Yes, plus sign is what I use...</description>
		<content:encoded><![CDATA[<p>Did I write -Indexes somewhere? Hm, that does seem wrong. Yes, plus sign is what I use&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nitro2k01</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-544</link>
		<dc:creator>nitro2k01</dc:creator>
		<pubDate>Sun, 12 Sep 2010 03:10:41 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-544</guid>
		<description>A little tip to those who can&#039;t get the PHP code to execute, especially on web hosts: Don&#039;t include the AddType and AddHandler lines. I blindly assumed they needed to be there and tried everything else. Also Scott, your post in the Ubuntu forum, where you first mentioned those lines, has another strange thing in it... &quot;Options -Indexes&quot;. Should be &quot;Options +Indexes&quot; , right? :)
Just Indexes doesn&#039;t do it for me; it need to be +Indexes.</description>
		<content:encoded><![CDATA[<p>A little tip to those who can&#8217;t get the PHP code to execute, especially on web hosts: Don&#8217;t include the AddType and AddHandler lines. I blindly assumed they needed to be there and tried everything else. Also Scott, your post in the Ubuntu forum, where you first mentioned those lines, has another strange thing in it&#8230; &#8220;Options -Indexes&#8221;. Should be &#8220;Options +Indexes&#8221; , right? :)<br />
Just Indexes doesn&#8217;t do it for me; it need to be +Indexes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gse</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-315</link>
		<dc:creator>gse</dc:creator>
		<pubDate>Wed, 05 May 2010 01:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-315</guid>
		<description>Sorry, no other ideas other than the usual -- be sure that you&#039;re running a recent enough version of Apache, check your logs for telltale warnings and errors, etc.</description>
		<content:encoded><![CDATA[<p>Sorry, no other ideas other than the usual &#8212; be sure that you&#8217;re running a recent enough version of Apache, check your logs for telltale warnings and errors, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://antisleep.com/2007/10/08/indices-prettying-up-apache-directory-listings/comment-page-1/#comment-314</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Tue, 04 May 2010 18:26:38 +0000</pubDate>
		<guid isPermaLink="false">http://antisleep.com/wp/2007/10/08/indices-prettying-up-apache-directory-listings/#comment-314</guid>
		<description>Oops, yes, what I said was not actually true, which is why everything works when I upload it to my hosting provider: the above listed .htaccess file *is* in the folder that contains header.php and footer.html.

Any other ideas?  Thanks!</description>
		<content:encoded><![CDATA[<p>Oops, yes, what I said was not actually true, which is why everything works when I upload it to my hosting provider: the above listed .htaccess file *is* in the folder that contains header.php and footer.html.</p>
<p>Any other ideas?  Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/19 queries in 0.269 seconds using disk: basic

Served from: antisleep.com @ 2012-05-17 00:01:20 -->
