I work for the nonprofit Mozilla Foundation (not to be confused with the Mozilla Corporation, the Foundation's subsidiary responsible for the Firefox web browser and Thunderbird email client). For more about me and what I'm doing, see the “Personal” section of this page and my weblog entries below.
Entries for November 2004
URI rewriting and canonical URIs
Here I document the way in which I use URI rewriting (along with redirection and a couple of Blosxom plugins) to help implement my personal design philosophy for my web site. My goal is to create a unified URI space within which static and dynamic content can transparently co-exist, with publicly-visible URIs for human-readable content (i.e., HTML pages) having a canonical form that omits file extensions or other content type specifiers. ...
2004-11-18
Enforcing canonical URIs for Blosxom pages
As noted in my discussion of URI rewriting, we can use Apache to enforce canonical URI forms for HTML files and directories, but need to use a plugin to enforce canonical forms for URIs handled by Blosxom. I've thus written a new canonicaluri plugin that checks to see whether the requested URI is in the canonical form for the type of page being requested, and if necessary does a browser redirect to the canonical form of the URI. ...
2004-11-18