]> granicus.if.org Git - apache/blobdiff - docs/manual/mod/mod_mime_magic.xml
Merge in APR[-util] macros from branches/trunk-buildconf-noapr
[apache] / docs / manual / mod / mod_mime_magic.xml
index e3d95d5be3aea2bf376b270f2066f9dc171a5ce1..bd79868a4e2a1929f8626146148b7b7d08d3a20a 100644 (file)
@@ -1,13 +1,15 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
+<!-- $LastChangedRevision$ -->
 
 <!--
- Copyright 2002-2004 Apache Software Foundation
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0
 
 <identifier>mime_magic_module</identifier>
 
 <summary>
-    <p>This module determines the MIME type of files in the same
-    way the Unix <code>file(1)</code> command works: it looks at the first
-    few bytes of the file. It is intended as a "second line of defense"
+    <p>This module determines the <glossary ref="mime-type">MIME
+    type</glossary> of files in the same way the Unix
+    <code>file(1)</code> command works: it looks at the first few
+    bytes of the file. It is intended as a "second line of defense"
     for cases that <module>mod_mime</module> can't resolve.</p>
 
     <p>This module is derived from a free version of the
@@ -49,6 +52,7 @@
     the following columns:</p>
 
     <table style="zebra" border="1">
+    <columnspec><column width=".15"/><column width=".8"/></columnspec>
     <tr><th>Column</th><th>Description</th></tr>
     <tr><td>1</td>
         <td>byte number to begin checking from<br />
@@ -56,8 +60,9 @@
          non-"<code>&gt;</code>" line</td></tr>
 
     <tr><td>2</td>
-        <td>type of data to match 
+        <td><p>type of data to match</p>
         <table border="1">
+        <columnspec><column width=".2"/><column width=".7"/></columnspec>
         <tr><td><code>byte</code></td>
             <td>single character</td></tr>
         <tr><td><code>short</code></td>
@@ -259,7 +264,9 @@ using the specified magic file</description>
     server's file.</p>
 
     <example><title>Example</title>
+    <highlight language="config">
       MimeMagicFile conf/magic
+      </highlight>
     </example>
 </usage>
 </directivesynopsis>