<?xml version="1.0" encoding="EUC-KR"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_imagemap - Apache HTTP Server Version 2.2</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> <script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body> <div id="page-header"> <p class="menu"><a href="../mod/">���</a> | <a href="../mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">���</a> | <a href="../sitemap.html">����Ʈ��</a></p> <p class="apache">Apache HTTP Server Version 2.2</p> <img alt="" src="../images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">���</a></div> <div id="page-content"> <div id="preamble"><h1>����ġ ��� mod_imagemap</h1> <div class="toplang"> <p><span>������ ���: </span><a href="../en/mod/mod_imagemap.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ko/mod/mod_imagemap.html" title="Korean"> ko </a></p> </div> <div class="outofdate">�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.</div> <table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>������ �̹�����(imagemap) ó��</td></tr> <tr><th><a href="module-dict.html#Status">����:</a></th><td>Base</td></tr> <tr><th><a href="module-dict.html#ModuleIdentifier">����:</a></th><td>imagemap_module</td></tr> <tr><th><a href="module-dict.html#SourceFile">�ҽ�����:</a></th><td>mod_imagemap.c</td></tr></table> <h3>���</h3> <p>�� ����� <code>imagemap</code> CGI ���α��� ����Ͽ� <code>.map</code> ������ ó���Ѵ�. �� ����� (<code class="directive"><a href="../mod/mod_mime.html#addhandler">AddHandler</a></code>�� <code class="directive"><a href="../mod/core.html#sethandler">SetHandler</a></code>�� ����Ͽ�) <code>imap-file</code> �ڵ鷯�� ����ϵ��� ������ ���丮�� ������ ó���Ѵ�.</p> <p>�Ʒ� ���þ�� <code>.map</code>���� ������ ������ �̹����� ���Ϸ� �����Ѵ�.</p> <div class="example"><p><code>AddHandler imap-file map</code></p></div> <p>������ �Ʒ��� ���� ������ �����Ѵ�.</p> <div class="example"><p><code>AddType application/x-httpd-imap map</code></p></div> <p>���� �츮�� ���� "�������� Ư���� �ǹ̰� �ִ� MIME type"�� �����Ϸ��� �ϱ���� �� ����� ������ ���̴�.</p> </div> <div id="quickview"><h3 class="directives">���þ��</h3> <ul id="toc"> <li><img alt="" src="../images/down.gif" /> <a href="#imapbase">ImapBase</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#imapdefault">ImapDefault</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#imapmenu">ImapMenu</a></li> </ul> <h3>����</h3> <ul id="topics"> <li><img alt="" src="../images/down.gif" /> <a href="#features">���ο� ���</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#imapfile">�̹����� ����</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#example">������ ����</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#referencing">������ ����ϱ�</a></li> </ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="features" id="features">���ο� ���</a></h2> <p>�̹����� ���� ���� �̹����� ���α����� ���� ��� ���ο� ����� �ִ�.</p> <ul> <li>Referer: ������ ������� URL ����.</li> <li>���ο� <code>base</code> �����þ ����Ͽ� �⺻ <code><base></code> ����.</li> <li><code>imagemap.conf</code> ���� �ʿ����.</li> <li>��(point) ����.</li> <li>�̹����� �� ���� ����.</li> </ul> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="imapfile" id="imapfile">�̹����� ����</a></h2> <p>�̹����� ������ �Ʒ��� ���� �������� �ۼ��Ѵ�.</p> <div class="example"><p><code> directive value [<var>x</var>,<var>y</var> ...]<br /> directive value "<var>Menu text</var>" [<var>x</var>,<var>y</var> ...]<br /> directive value <var>x</var>,<var>y</var> ... "<var>Menu text</var>" </code></p></div> <p>directive�� <code>base</code>, <code>default</code>, <code>poly</code>, <code>circle</code>, <code>rect</code>, <code>point</code> �� �ϳ���. value���� ���� URL�̳� ��� URL Ȥ�� �Ʒ����� ������ Ư������ ����Ѵ�. ��ǥ�� �������� ������ <code><var>x</var>,<var>y</var></code> ���̴�. ����ǥ�� ���� ������ �̹����� ���� ���鶧 ��ũ �������� ����Ѵ�. '#'�� �����ϴ� ���� �ּ��̴�.</p> <h3><a name="imapfile.directives" id="imapfile.directives">�̹����� ���� ���þ�</a></h3> <p>�̹����� ���Ͽ��� 6���� ���þ ����� �� �ִ�. ���þ�� Ư���� �������� ����� �� ������, �̹����� ���Ͽ� ���� ������� ó���Ѵ�.</p> <dl> <dt><code>base</code> ���þ�</dt> <dd><p><code><base href="<var>value</var>"></code> ����� �Ѵ�. �����Ͽ��� ������ URL�� ���� URL�� �ƴ϶�� �� ���� ��� URL�� ����Ѵ�. <code>base</code> ���þ�� <code>.htaccess</code> �����̳� �����������Ͽ��� ������ <code class="directive"><a href="#imapbase">ImapBase</a></code> ���� �����Ѵ�. <code class="directive">ImapBase</code> �������þ ���ٸ� �⺻ <code>base</code> ���� <code>http://server_name/</code>�̴�.</p> <p><code>base_uri</code>�� <code>base</code>�� ����. URL���� ������ �������� ��������.</p></dd> <dt><code>default</code> ���þ�</dt> <dd>�ش� ��ǥ�� <code>poly</code>, <code>circle</code>, <code>rect</code> ���þ �ش����� �ʰ� <code>point</code> ���þ ������� ���� ��� �ൿ�� �����Ѵ�. <code class="directive"><a href="#imapdefault">ImapDefault</a></code> ������ ���ٸ� �⺻���� <code>204 No Content</code> �����ڵ带 ��ȯ�ϴ� <code>nocontent</code>�̴�. �� ��� Ŭ���̾�Ʈ�� ������ �������� ������� �Ѵ�.</dd> <dt><code>poly</code> ���þ�</dt> <dd>���� �������� �鰳���� ������ �� �ִ�. ����ڰ� �� ����� �̷���� �ٰ��� ���� ��ǥ�� ������ ��쿡 ����Ѵ�.</dd> <dt><code>circle</code></dt> <dd>���� �߽ɰ� ������ �� ���� ��ǥ�� �´�. ����ڰ� �� ���� ��ǥ�� ������ ��쿡 ����Ѵ�.</dd> <dt><code>rect</code> ���þ�</dt> <dd>�簢���� �� �� ���� ��ǥ�� �´�. �簢�� ���� ��ǥ�� ������ ��쿡 ����Ѵ�.</dd> <dt><code>point</code> ���þ�</dt> <dd>�� ���� ��ǥ�� �´�. �ٸ� ���þ���� �������� ���� ��� ����ڰ� ������ ��ǥ�� ���� ����� point ���þ ����Ѵ�. <code>point</code> ���þ ����ϰ� ��ȿ�� ��ǥ�� ������ ��� <code>default</code>�� ����� ������ �ʴ´�.</dd> </dl> <h3><a name="imapfile.values" id="imapfile.values">���þ ����� �� �ִ� ����</a></h3> <p>���þ �Ʒ� value�� ����� �� �ִ�.</p> <dl> <dt>URL</dt> <dd><p>��� URL�̳� ���� URL�� ����� �� �ִ�. ��� URL�� '..'�� ����� �� ������, <code>base</code> ���� �������� ã�´�.</p> <p><code>base</code>�� �����Ҷ��� ���� base���� �����Ѵ�. ����, <code>base mailto:</code> ���� ����� �� �ִ�.</p></dd> <dt><code>map</code></dt> <dd>�̹����� ���� ��ü URL�� ����. ��ǥ�� ���� <code class="directive"><a href="#imapmenu">ImapMenu</a></code>�� <code>none</code>�� �ƴ϶�� ���� �����.</dd> <dt><code>menu</code></dt> <dd><code>map</code>�� ����.</dd> <dt><code>referer</code></dt> <dd>����(��ũ�� ������� ��) ���� URL�� ����. <code>Referer:</code> ����� ���ٸ� �⺻���� <code>http://servername/</code>�̴�.</dd> <dt><code>nocontent</code></dt> <dd>Ŭ���̾�Ʈ���� ������ �������� �״�� �����ֶ�� <code>204 No Content</code> �����ڵ带 ������. <code>base</code>�� ������ ��� ���þ�� ����� �� �ִ�.</dd> <dt><code>error</code></dt> <dd>���и� ��Ÿ���� <code>500 Server Error</code>�� ������. <code>base</code>�� ������ ��� ���þ�� ����� �� ������, <code>default</code> �ܿ��� ����� ���� ����.</dd> </dl> <h3><a name="imapfile.coords" id="imapfile.coords">��ǥ</a></h3> <dl> <dt><code>0,0 200,200</code></dt> <dd>��ǥ�� ��ǥ�� ������ <var>x</var>�� <var>y</var> ���̴�. ��ǥ���� ���� �������� �����Ѵ�. �̹������� �ٷ�� ��Ļ� Lynx�� ���Ǹ� ���� ����ڰ� <code>0,0</code> ��ǥ�� �����Ͽ��ٸ� ��ǥ�� �������� ���� ��ó�� �����Ѵ�.</dd> </dl> <h3><a name="imapfile.quotedtext" id="imapfile.quotedtext">����ǥ�� ���� ����</a></h3> <dl> <dt><code>"<var>Menu Text</var>"</code></dt> <dd><p>value �ڳ� ��ǥ �ڿ� �ֵ���ǥ�� ���� ������ ���� ���� �ִ�. �� ���ڿ��� ���� ���鶧 ��ũ �������� ����Ѵ�.</p> <div class="example"><p><code> <a href="http://foo.com/"><var>Menu text</var></a> </code></p></div> <p>����ǥ�� ���� ������ ���ٸ� ������ ���� ��ũ�� ��ũ �������� ����Ѵ�.</p> <div class="example"><p><code> <a href="http://foo.com/">http://foo.com</a> </code></p></div> <p>������ �ֵ���ǥ�� ������ <code>&quot;</code>�� ���� ����� �Ѵ�.</p></dd> </dl> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="example" id="example">������ ����</a></h2> <div class="example"><p><code> #'formatted'�� 'semiformatted' ���� �ּ��� ����Ѵ�.<br /> #���� �ּ��� html �±� �� �� �ִ�. <hr><br /> base referer<br /> poly map "���� �����ּ���." 0,0 0,10 10,10 10,0<br /> rect .. 0,0 77,27 "���� ������ �ִ� ���丮"<br /> circle http://www.inetnebr.com/lincoln/feedback/ 195,0 305,27<br /> rect another_file "���� ������ ���� ���丮�� �ִ�" 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 "����?"<br /> </code></p></div> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="referencing" id="referencing">������ ����ϱ�</a></h2> <div class="example"><h3>HTML ����</h3><p><code> <a href="/maps/imagemap1.map"><br /> <span class="indent"> <img ismap src="/images/imagemap1.gif"><br /> </span> </a> </code></p></div> <div class="example"><h3>XHTML ����</h3><p><code> <a href="/maps/imagemap1.map"><br /> <span class="indent"> <img ismap="ismap" src="/images/imagemap1.gif" /><br /> </span> </a> </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ImapBase" id="ImapBase">ImapBase</a> <a name="imapbase" id="imapbase">���þ�</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">����:</a></th><td>�̹����� ���Ͽ��� <code>base</code> �⺻��</td></tr> <tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ImapBase map|referer|<var>URL</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>ImapBase http://servername/</code></td></tr> <tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Indexes</td></tr> <tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_imagemap</td></tr> </table> <p><code class="directive">ImapBase</code> ���þ�� �̹����� ���Ͽ��� ����� <code>base</code> �⺻���� �����Ѵ�. �̹����� ���� �ȿ��� <code>base</code> ���þ ����ϸ� ���⼭ ������ ���� �����Ѵ�. �� ��� ���ٸ�, <code>base</code> �⺻���� <code>http://<var>servername</var>/</code>�̴�.</p> <h3>����</h3> <ul> <li><code class="directive"><a href="../mod/core.html#usecanonicalname">UseCanonicalName</a></code></li> </ul> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ImapDefault" id="ImapDefault">ImapDefault</a> <a name="imapdefault" id="imapdefault">���þ�</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">����:</a></th><td>�̹����ʿ� ��� �������� �ش����� �ʴ� ��ǥ�� �� ��� �⺻ �ൿ</td></tr> <tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ImapDefault error|nocontent|map|referer|<var>URL</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>ImapDefault nocontent</code></td></tr> <tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Indexes</td></tr> <tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_imagemap</td></tr> </table> <p><code class="directive">ImapDefault</code> ���þ�� �̹����� ���Ͽ��� ����� <code>default</code> �⺻���� �����Ѵ�. �̹����� ���� �ȿ��� <code>default</code> ���þ ����ϸ� ���⼭ ������ ���� �����Ѵ�. �� ��� ���ٸ�, <code>default</code> �ൿ�� Ŭ���̾�Ʈ���� <code>204 No Content</code>�� ������ <code>nocontent</code>�̴�. �� ��� Ŭ���̾�Ʈ�� ���� �������� �״�� ������� �Ѵ�.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="ImapMenu" id="ImapMenu">ImapMenu</a> <a name="imapmenu" id="imapmenu">���þ�</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">����:</a></th><td>��ǥ���� �̹����� ��û�� ���� �ൿ</td></tr> <tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>ImapMenu none|formatted|semiformatted|unformatted</code></td></tr> <tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ, directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Indexes</td></tr> <tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_imagemap</td></tr> </table> <p><code class="directive">ImapMenu</code> ���þ�� �̹����� ���Ͽ� ��ȿ�� ��ǥ�� ���� ���� ��� ���� �ൿ�� �����Ѵ�.</p> <dl> <dt><code>none</code></dt> <dd>ImapMenu�� <code>none</code>�̸�, ���� �������ʰ� <code>default</code> �ൿ�� ���Ѵ�.</dd> <dt><code>formatted</code></dt> <dd><code>formatted</code> ���� ���� ������ ����. �̹����� ������ �ּ��� �����Ѵ�. ���� ū ǥ���� �������� ����ϰ�, ��ũ�� ���پ� ����Ѵ�. ���� �ϰ��ǰ� �����ϸ�, ���丮 ��ϰ� �����ϴ�.</dd> <dt><code>semiformatted</code></dt> <dd><code>semiformatted</code> ���� �̹����� ���Ͽ� ������ �ּ��� ����Ѵ�. ������ HTML ��ٲ����� ��ȯ�Ѵ�. ǥ���� �������� ���� ������, �������� <code>formatted</code> ���� ����.</dd> <dt><code>unformatted</code></dt> <dd>�ּ��� ����ϰ�, ������ �����Ѵ�. �̹����� ���Ͽ� �ִ� ���븸 ����Ѵ�. �̹����� ������ �ּ��� �ʿ��� ��� ��ٲް� ǥ���� ����� �Ѵ�. ���� �ܰ��� ���� ���������� �ٹ� �� ������, �̹����� ������ ��ǻ� �Ϲ� ���������� �ƴ� HTML�� ���� �Ѵ�.</dd> </dl> </div> </div> <div class="bottomlang"> <p><span>������ ���: </span><a href="../en/mod/mod_imagemap.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ko/mod/mod_imagemap.html" title="Korean"> ko </a></p> </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_imagemap.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2014 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">���</a> | <a href="../mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">���</a> | <a href="../sitemap.html">����Ʈ��</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>