[28727] trunk/www/includes/common.inc

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 8 00:19:04 PDT 2007


Revision: 28727
          http://trac.macosforge.org/projects/macports/changeset/28727
Author:   jmpp at macports.org
Date:     2007-09-08 00:19:03 -0700 (Sat, 08 Sep 2007)

Log Message:
-----------

Correct the reported mime type of the web pages (application/xhtml+xml), since they
claim to be xhtml. My server is still serving them as text/html, however, but I guess
that's a local Apache misconfiguration.

Modified Paths:
--------------
    trunk/www/includes/common.inc

Modified: trunk/www/includes/common.inc
===================================================================
--- trunk/www/includes/common.inc	2007-09-08 03:01:05 UTC (rev 28726)
+++ trunk/www/includes/common.inc	2007-09-08 07:19:03 UTC (rev 28727)
@@ -31,7 +31,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
   <head>
     <title><?php echo("$title"); ?></title>
-    <meta http-equiv="Content-type" content="text/html; charset=<?php echo("$encoding"); ?>" />
+    <meta http-equiv="Content-type" content="application/xhtml+xml; charset=<?php echo("$encoding"); ?>" />
     <meta name="author" content="Jim Mock (mij at macports.org)" />
     <meta name="author" content="Juan Manuel Palacios (jmpp at macports.org)" />
     <meta name="author" content="Chris Pickel (sfiera at macports.org)" />

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070908/b99cbbe7/attachment.html


More information about the macports-changes mailing list