Add .html back to the media files

There's a little more magic to Apache's "aliasing"
of foo to foo.html than meets the eye. You can provide
the same resource in different formats and Apache will
serve whichever one the browser best supports through
mod_negotation. If you remove the .html from the *filename*
Apache won't be able to determine the content-type and
will assume the default (currently text/plain).
This commit is contained in:
Michael Spang 2007-12-17 10:39:12 -05:00
parent ddee695628
commit 9455ac60b9
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
<xsl:document method="xml" encoding="ISO-8859-1"
doctype-public="-//W3C//DTD XHTML 1.1//EN"
doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
href="{concat($g_outdir, @title, $suffix)}">
href="{concat($g_outdir, @title, $suffix, '.html')}">
<html>
<head>
<title><xsl:value-of select="@title" /></title>