<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
    <title>Comments for Content-Dislocation</title>
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation" />
    <link rel="self" type="application/atom+xml" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation" />
    <id>tag:bradchoate.com,2009://4-</id>
    <updated>2006-03-20T21:43:38Z</updated>
    <subtitle>The man, the legend.</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.2-en</generator>
 

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:1981</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c1981" />
    <title>Comment from Justin Blanton on 2004-04-15</title>
    <author>
        <name>Justin Blanton</name>
        <uri>http://justinblanton.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://justinblanton.com">
        <![CDATA[<p>I did something similar to this in MT a while ago (using your reg-ex plugin): <a href="http://justinblanton.com/archives/2003/09/15/futureproof_your_uris/" rel="nofollow">Future-proof Your URIs</a>.</p>]]>
    </content>
    <published>2004-04-15T23:30:22Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:1990</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c1990" />
    <title>Comment from Nathan DeGruchy on 2004-04-19</title>
    <author>
        <name>Nathan DeGruchy</name>
        <uri>http://www.degruchy.org/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.degruchy.org/">
        <![CDATA[<p>I just did that.  Unfortunately my trackback link is (now) broken :(</p>]]>
    </content>
    <published>2004-04-19T17:41:11Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:1994</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c1994" />
    <title>Comment from Matt on 2004-04-19</title>
    <author>
        <name>Matt</name>
        <uri>http://photomatt.net/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://photomatt.net/">
        <![CDATA[<p>In WordPress it's a click of a button to enable URIs like yours.</p>]]>
    </content>
    <published>2004-04-20T02:36:05Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:1999</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c1999" />
    <title>Comment from SV on 2004-04-20</title>
    <author>
        <name>SV</name>
        <uri>http://mblog.com/forsv/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://mblog.com/forsv/">
        <![CDATA[<p>Please I need some help. If you see my blog ( http://mblog.com/forsv/) I have the Frequent Commenter section in side bar. I would like to modify that to do:</p>

<p>Say Tab [31]</p>

<p>[1] If I click on the name Tab it should go to Tab's Blog URL</p>

<p>[2] If I click on [31] it should go to a page with all the comments made by Tab in a format similar to when u click on category.</p>

<p>Can this be done or am thinking too much. Please help.</p>

<p>Thanks in advance.</p>]]>
    </content>
    <published>2004-04-20T21:06:48Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:2032</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c2032" />
    <title>Comment from Mark Tranchant on 2004-04-28</title>
    <author>
        <name>Mark Tranchant</name>
        <uri>http://tranchant.plus.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://tranchant.plus.com/">
        <![CDATA[<p>Another technique is to redirect all incoming extensioned requests to the extension-free URL:</p>

<p><code>RedirectMatch permanent /(.*)\.php$ http://example.com/$1</code></p>

<p>If you're using PHP and MultiViews, you may want to read <a href="http://tranchant.plus.com/notes/multiviews" rel="nofollow">this</a>. I don't know whether stripping the <code>Content-Location</code> header will mess up the <code>SCRIPT_FILENAME</code> variable, I'll have to check. You <em>should</em> be able to strip the <code>Content-Location</code> header with PHP, too: I'll check and get back to you...
</p>]]>
    </content>
    <published>2004-04-28T11:48:45Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:2033</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c2033" />
    <title>Comment from Mark Tranchant on 2004-04-28</title>
    <author>
        <name>Mark Tranchant</name>
        <uri>http://tranchant.plus.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://tranchant.plus.com/">
        <![CDATA[<p>
Hmmm. Apache 2.x no longer has the <code>ErrorHeader</code> directive, and <code>Header</code> still does not work, as above.
</p>

<p>
PHP is less helpful than I had thought. It is possible to replace a response header (via the <a href="http://www.php.net/manual/en/function.header.php" rel="nofollow"><code>header()</code></a> function), but not to delete one.
The <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14" rel="nofollow">official spec</a> for <code>Content-Location</code> does not permit it to be present but blank.
</p>

<p>
The only solution I can see, which I'm far too lazy to actually test, is to use the <a href="http://www.php.net/manual/en/function.headers-list.php" rel="nofollow"><code>headers_list()</code></a>
function to parse the pending response headers, and remove the <code>Content-Location</code> header, if the array can be modified.
</p>]]>
    </content>
    <published>2004-04-28T12:08:36Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:2169</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c2169" />
    <title>Comment from Brian on 2004-07-13</title>
    <author>
        <name>Brian</name>
        <uri>http://www.tsmchughs.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.tsmchughs.com/">
        <![CDATA[<p>I can confirm Mark Tranchant's report: unsetting the Content-Location header does not work with Apache 2.x. I can't seem to get it to work on 1.3, either. I've tried</p>

<p><code>Header unset Content-Location</code><br />
<code>ErrorHeader unset Content-Location</code></p>

<p>Neither works. I tested Header to make sure it was on in both Apache setups. Shame.</p>]]>
    </content>
    <published>2004-07-13T20:31:30Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:2192</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c2192" />
    <title>Comment from Mark Tranchant on 2004-07-28</title>
    <author>
        <name>Mark Tranchant</name>
        <uri>http://tranchant.plus.com/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://tranchant.plus.com/">
        <![CDATA[<p>
Because of an Opera bug related to the <code>Content-Location</code> header, I have been forced to take action.
Fortunately, it’s a simple one-line comment block to recompile <code>mod_negotiation</code> to lose this header.
Read about it, and the bug that caused me to leap out of slumbering lethargy, <a href="http://tranchant.plus.com/notes/content-location" rel="nofollow">here</a>.
</p>]]>
    </content>
    <published>2004-07-28T15:50:14Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:3114</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c3114" />
    <title>Comment from Steve Clay on 2005-08-25</title>
    <author>
        <name>Steve Clay</name>
        <uri>http://mrclay.org/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://mrclay.org/">
        <![CDATA[<p>I just discovered this phenomenon after <a href="http://my.opera.com/forums/showthread.php?s=&amp;postid=1023356" rel="nofollow">posting it as an Opera bug</a>.<br />
Here was my <a href="http://mrclay.org/o7_path_change" rel="nofollow">test page</a> showing a potential data loss situation due to Opera's "correct" implementation.</p>]]>
    </content>
    <published>2005-08-25T11:09:35Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:22206</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c22206" />
    <title>Comment from Richard A on 2007-01-17</title>
    <author>
        <name>Richard A</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>The solution for Apache 2 is to use "always" instead of the default "onsuccess":</p>

<p>Header always unset Content-Location</p>]]>
    </content>
    <published>2007-01-17T15:31:42Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:22284</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c22284" />
    <title>Comment from Rene A. on 2007-05-28</title>
    <author>
        <name>Rene A.</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks Richard A!</p>

<p>I was looking for a solution in Apache 2.2.x and the command in the last comment works very nice.</p>]]>
    </content>
    <published>2007-05-28T22:55:44Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:22285</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c22285" />
    <title>Comment from Rene A. on 2007-05-29</title>
    <author>
        <name>Rene A.</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Oh my god!</p>

<p>On Mac OSX with DarwinPorts - apache 2.2.4 it works.<br />
On Debian - apache 2.2.3 the header remains!</p>

<p>Does anybody has any idea about this?</p>]]>
    </content>
    <published>2007-05-29T16:35:26Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-comment:22685</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#c22685" />
    <title>Comment from Milivoj on 2007-12-07</title>
    <author>
        <name>Milivoj</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thank you Richard A. I was starting to despair, the "always" did the trick.</p>]]>
    </content>
    <published>2007-12-08T07:19:46Z</published>
</entry>


<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1643</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1643" />
    <title>Hiding File Extensions in Movable Type</title>
    <author>
        <name>Abe Fettig&apos;s Web Workshop</name>
        <uri>http://www.fettig.net/2004/04/hiding_file_extensions_in_movable_type.html</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.fettig.net/2004/04/hiding_file_extensions_in_movable_type.html">
        The techniques I use to remove file extensions from my Moveable-Type generated URLs.
    </content>
    <published>2004-04-15T17:49:20Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1644</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1644" />
    <title>I took some advice</title>
    <author>
        <name>Verily</name>
        <uri>http://www.degruchy.org/html/archives/2004/04/15/15.52.25/index.html</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.degruchy.org/html/archives/2004/04/15/15.52.25/index.html">
        ...I cleaned up my archive entries so that they&apos;re more human-readable and &quot;future-proof&quot;. Thanks really goes out to Brad for that one simple link in his content-dislocation post. Hope it doesn&apos;t mess up anyone&apos;s bookmarks......
    </content>
    <published>2004-04-15T22:56:27Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1652</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1652" />
    <title>I took some advice</title>
    <author>
        <name>Verily</name>
        <uri>http://www.degruchy.org/archives/2004/April/15/I took some advice/index.html</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.degruchy.org/archives/2004/April/15/I took some advice/index.html">
        ...I cleaned up my archive entries so that they&apos;re more human-readable and &quot;future-proof&quot;. Thanks really goes out to Brad for that one simple link in his content-dislocation post. Hope it doesn&apos;t mess up anyone&apos;s bookmarks......
    </content>
    <published>2004-04-19T19:07:54Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1704</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1704" />
    <title>Hiding File Extensions in Movable Type</title>
    <author>
        <name>Abe Fettig&apos;s Web Workshop</name>
        <uri>http://www.fettig.net/2004/04/hiding_file_extensions_in_movable_type.html</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.fettig.net/2004/04/hiding_file_extensions_in_movable_type.html">
        The techniques I use to remove file extensions from my Moveable-Type generated URLs.
    </content>
    <published>2004-05-14T16:52:31Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1780</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1780" />
    <title>Moveable Type 3.0</title>
    <author>
        <name>Rizwan Kassim&apos;s Public Log</name>
        <uri>http://www.geekymedia.com/archives/2004/05/index.html#000352</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.geekymedia.com/archives/2004/05/index.html#000352">
        I bit the bullet after SixApart updated their Moveable Type licensing setup&#8230; Had to mod some plugins to get MT3 working right, but now seems like a good time as any to start categorizing etc, so thats on the todo...
    </content>
    <published>2004-05-18T00:31:06Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1781</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1781" />
    <title>Moveable Type 3.0</title>
    <author>
        <name>Rizwan Kassim&apos;s Public Log</name>
        <uri>http://www.geekymedia.com/archives/2004/05/index.html#000352</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.geekymedia.com/archives/2004/05/index.html#000352">
        I bit the bullet after SixApart updated their Moveable Type licensing setup&#8230; Had to mod some plugins to get MT3 working right, but now seems like a good time as any to start categorizing etc, so thats on the todo...
    </content>
    <published>2004-05-18T00:33:09Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1782</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1782" />
    <title>Moveable Type 3.0</title>
    <author>
        <name>Rizwan Kassim&apos;s Public Log</name>
        <uri>http://www.geekymedia.com/archives/2004/05/index.html#000352</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.geekymedia.com/archives/2004/05/index.html#000352">
        I bit the bullet after SixApart updated their Moveable Type licensing setup&#8230; Had to mod some plugins to get MT3 working right, but now seems like a good time as any to start categorizing etc, so thats on the todo...
    </content>
    <published>2004-05-18T00:34:27Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1842</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1842" />
    <title>Don&apos;t Let Your URL&apos;s Get Old and Crufty</title>
    <author>
        <name>Lockergnome&apos;s Web Developers</name>
        <uri>http://channels.lockergnome.com/web/archives/20040802_dont_let_your_urls_get_old_and_crufty.phtml</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://channels.lockergnome.com/web/archives/20040802_dont_let_your_urls_get_old_and_crufty.phtml">
        If you&apos;ve been searching for a way to remove file extensions from your weblog archives to make them neat and clean, it&apos;s not quite impossible! Removing these extensions (or &quot;url cruft&quot;) is actually quite simple. Using DiveIntoMark.org&apos;s tutorial for Cr...
    </content>
    <published>2004-08-03T06:20:24Z</published>
</entry>

<entry>
    <id>tag:bradchoate.com,2004://4.1888-ping:1843</id>
    <thr:in-reply-to ref="tag:bradchoate.com,2004://4.1888" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation"/>
 
    <link rel="alternate" type="text/html" href="http://bradchoate.com/weblog/2004/04/15/content-dislocation#p1843" />
    <title>Don&apos;t Let Your URLs Get Old And Crufty</title>
    <author>
        <name>Lockergnome&apos;s Web Developers</name>
        <uri>http://channels.lockergnome.com/web/archives/20040802_dont_let_your_urls_get_old_and_crufty.phtml</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://channels.lockergnome.com/web/archives/20040802_dont_let_your_urls_get_old_and_crufty.phtml">
        If you&apos;ve been searching for a way to remove file extensions from your weblog archives to make them neat and clean, it&apos;s not quite impossible! Removing these extensions (or &quot;url cruft&quot;) is actually quite simple. Using DiveIntoMark.org&apos;s tutorial for Cr...
    </content>
    <published>2004-08-03T06:31:06Z</published>
</entry>

</feed>