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:
parent
ddee695628
commit
9455ac60b9
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue