]> granicus.if.org Git - apache/blobdiff - docs/manual/mod/mod_imagemap.xml
Merge in APR[-util] macros from branches/trunk-buildconf-noapr
[apache] / docs / manual / mod / mod_imagemap.xml
index 693ecf34ade3100757cdc926dbe55fbe954f69c8..6a4e50f9aa9be1babe3cc0e88d4f14f6570866ae 100644 (file)
@@ -4,12 +4,12 @@
 <!-- $LastChangedRevision$ -->
 
 <!--
- Copyright 2002-2005 The Apache Software Foundation or its licensors, as
- applicable.
-
- 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
 
@@ -32,7 +32,7 @@
     <p>This module processes <code>.map</code> files, thereby
     replacing the functionality of the <code>imagemap</code> CGI
     program. Any directory or document type configured to use the
-    handler <code>imap-file</code> (using either 
+    handler <code>imap-file</code> (using either
     <directive module="mod_mime">AddHandler</directive> or
     <directive module="core">SetHandler</directive>)
     will be processed by this module.</p>
     <p>The following directive will activate files ending with
     <code>.map</code> as imagemap files:</p>
 
-    <example>AddHandler imap-file map</example>
+    <highlight language="config">
+AddHandler imap-file map
+    </highlight>
 
     <p>Note that the following is still supported:</p>
 
-    <example>AddType application/x-httpd-imap map</example>
+    <highlight language="config">
+AddType application/x-httpd-imap map
+    </highlight>
 
     <p>However, we are trying to phase out "magic MIME types" so we
     are deprecating this method.</p>
 
     <section id="imapfile.values"><title>Values</title>
 
-      <p>The values for each of the directives can any of the following:</p>
+      <p>The values for each of the directives can be any of the
+      following:</p>
 
       <dl>
       <dt>a URL</dt>
       <dd><p>The URL can be relative or absolute URL. Relative URLs
       can contain '..' syntax and will be resolved relative to the
       <code>base</code> value.</p>
-      <p><code>base</code> itself will not resolved according to the
+      <p><code>base</code> itself will not be resolved according to the
       current value. A statement <code>base mailto:</code> will
       work properly, though.</p></dd>
 
       generated:</p>
 
       <example>
-        &lt;a href="http://foo.com/"&gt;<var>Menu text</var>&lt;/a&gt;
+        &lt;a href="http://example.com/"&gt;<var>Menu text</var>&lt;/a&gt;
       </example>
 
       <p>If no quoted text is present, the name of the link will be
       used as the text:</p>
 
       <example>
-        &lt;a href="http://foo.com/"&gt;http://foo.com&lt;/a&gt;
+        &lt;a href="http://example.com/"&gt;http://example.com&lt;/a&gt;
       </example>
 
       <p>If you want to use double quotes within this text, you have to
       base referer<br />
       poly map "Could I have a menu, please?" 0,0 0,10 10,10 10,0<br />
       rect .. 0,0 77,27 "the directory of the referer"<br />
-      circle http://www.inetnebr.com/lincoln/feedback/ 195,0 305,27<br />
+      circle http://www.inetnebr.example.com/lincoln/feedback/ 195,0 305,27<br />
       rect another_file "in same directory as referer" 306,0 419,27<br />
-      point http://www.zyzzyva.com/ 100,100<br />
-      point http://www.tripod.com/ 200,200<br />
-      rect mailto:nate@tripod.com 100,150 200,0 "Bugs?"<br />
+      point http://www.zyzzyva.example.com/ 100,100<br />
+      point http://www.tripod.example.com/ 200,200<br />
+      rect mailto:nate@tripod.example.com 100,150 200,0 "Bugs?"<br />
     </example>
 
 </section>
 <description>Action if no coordinates are given when calling
 an imagemap</description>
 <syntax>ImapMenu none|formatted|semiformatted|unformatted</syntax>
+<default>ImapMenu formatted</default>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context></contextlist>
 <override>Indexes</override>