<?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
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 />
non-"<code>></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>
server's file.</p>
<example><title>Example</title>
+ <highlight language="config">
MimeMagicFile conf/magic
+ </highlight>
</example>
</usage>
</directivesynopsis>