<-
Apache > HTTP Server > Documentation > Version 2.4 > ���

����ġ ��� mod_imagemap

������ ���:  en  |  fr  |  ko 

�� ������ �ֽ��� ������ �ƴմϴ�. �ֱٿ� ����� ������ ���� ������ �����ϼ���.
����:������ �̹�����(imagemap) ó��
����:Base
����:imagemap_module
�ҽ�����:mod_imagemap.c

���

�� ����� imagemap CGI ���α׷��� ����Ͽ� .map ������ ó���Ѵ�. �� ����� (AddHandler�� SetHandler�� ����Ͽ�) imap-file �ڵ鷯�� ����ϵ��� ������ ���丮�� ������ ó���Ѵ�.

�Ʒ� ���þ�� .map���� ������ ������ �̹����� ���Ϸ� �����Ѵ�.

AddHandler imap-file map

������ �Ʒ��� ���� ������ �����Ѵ�.

AddType application/x-httpd-imap map

�׷��� �츮�� ���� "�������� Ư���� �ǹ̰� �ִ� MIME type"�� �����Ϸ��� �ϱ⶧���� �� ����� ������ ���̴�.

Support Apache!

����

���þ��

Bugfix checklist

����

top

���ο� ���

�̹����� ��⿡�� ���� �̹����� ���α׷����� ���� ��� ���ο� ����� �ִ�.

top

�̹����� ����

�̹����� ������ �Ʒ��� ���� �������� �ۼ��Ѵ�.

directive value [x,y ...]
directive value "Menu text" [x,y ...]
directive value x,y ... "Menu text"

directive�� base, default, poly, circle, rect, point �� �ϳ���. value���� ���� URL�̳� ��� URL Ȥ�� �Ʒ����� ������ Ư������ ����Ѵ�. ��ǥ�� �������� ������ x,y ���̴�. ����ǥ�� ���� ������ �̹����� �޴��� ���鶧 ��ũ �������� ����Ѵ�. '#'�� �����ϴ� ���� �ּ��̴�.

�̹����� ���� ���þ�

�̹����� ���Ͽ��� 6���� ���þ ����� �� �ִ�. ���þ�� Ư���� �������� ����� �� ������, �̹����� ���Ͽ� ���� ������� ó���Ѵ�.

base ���þ�

<base href="value"> ����� �Ѵ�. �����Ͽ��� ������ URL�� ���� URL�� �ƴ϶�� �� ���� ��� URL�� ����Ѵ�. base ���þ�� .htaccess �����̳� �����������Ͽ��� ������ ImapBase ���� �����Ѵ�. ImapBase �������þ ���ٸ� �⺻ base ���� http://server_name/�̴�.

base_uri�� base�� ����. URL���� ������ �������� ��������.

default ���þ�
�ش� ��ǥ�� poly, circle, rect ���þ �ش����� �ʰ� point ���þ ������� ���� ��� �ൿ�� �����Ѵ�. ImapDefault ������ ���ٸ� �⺻���� 204 No Content �����ڵ带 ��ȯ�ϴ� nocontent�̴�. �� ��� Ŭ���̾�Ʈ�� ������ �������� ������� �Ѵ�.
poly ���þ�
���� �������� �鰳���� ������ �� �ִ�. ����ڰ� �� ����� �̷���� �ٰ��� ���� ��ǥ�� ������ ��쿡 ����Ѵ�.
circle
���� �߽ɰ� ������ �� ���� ��ǥ�� �޴´�. ����ڰ� �� ���� ��ǥ�� ������ ��쿡 ����Ѵ�.
rect ���þ�
�簢���� �� �𼭸� ���� ��ǥ�� �޴´�. �簢�� ���� ��ǥ�� ������ ��쿡 ����Ѵ�.
point ���þ�
�� ���� ��ǥ�� �޴´�. �ٸ� ���þ���� �������� ���� ��� ����ڰ� ������ ��ǥ�� ���� ����� point ���þ ����Ѵ�. point ���þ ����ϰ� ��ȿ�� ��ǥ�� ������ ��� default�� ����� ������ �ʴ´�.

���þ ����� �� �ִ� ����

���þ �Ʒ� value�� ����� �� �ִ�.

URL

��� URL�̳� ���� URL�� ����� �� �ִ�. ��� URL�� '..'�� ����� �� ������, base ���� �������� ã�´�.

base�� �����Ҷ��� ���� base���� �����Ѵ�. �׷���, base mailto: ���� ����� �� �ִ�.

map
�̹����� ���� ��ü URL�� ����. ��ǥ�� ���� ImapMenu�� none�� �ƴ϶�� �޴��� �����.
menu
map�� ����.
referer
����(��ũ�� ������� ��) ���� URL�� ����. Referer: ����� ���ٸ� �⺻���� http://servername/�̴�.
nocontent
Ŭ���̾�Ʈ���� ������ �������� �״�� �����ֶ�� 204 No Content �����ڵ带 ������. base�� ������ ��� ���þ�� ����� �� �ִ�.
error
���и� ��Ÿ���� 500 Server Error�� ������. base�� ������ ��� ���þ�� ����� �� ������, default �ܿ��� ����� ���� ����.

��ǥ

0,0 200,200
��ǥ�� ��ǥ�� ������ x�� y ���̴�. ��ǥ���� ���� �������� �����Ѵ�. �̹������� �ٷ�� ��Ļ� Lynx�� ���Ǹ� ���� ����ڰ� 0,0 ��ǥ�� �����Ͽ��ٸ� ��ǥ�� �������� ���� ��ó�� �����Ѵ�.

����ǥ�� ���� ����

"Menu Text"

value �ڳ� ��ǥ �ڿ� �ֵ���ǥ�� ���� ������ ���� ���� �ִ�. �� ���ڿ��� �޴��� ���鶧 ��ũ �������� ����Ѵ�.

<a href="http://foo.com/">Menu text</a>

����ǥ�� ���� ������ ���ٸ� ������ ���� ��ũ�� ��ũ �������� ����Ѵ�.

<a href="http://foo.com/">http://foo.com</a>

������ �ֵ���ǥ�� ������ &quot;�� ���� ����� �Ѵ�.

top

������ ����

#'formatted'�� 'semiformatted' �޴��� �ּ��� ����Ѵ�.
#�׸��� �ּ��� html �±׸� �� �� �ִ�. <hr>
base referer
poly map "�޴��� �����ּ���." 0,0 0,10 10,10 10,0
rect .. 0,0 77,27 "���� ������ �ִ� ���丮"
circle http://www.inetnebr.com/lincoln/feedback/ 195,0 305,27
rect another_file "���� ������ ���� ���丮�� �ִ�" 306,0 419,27
point http://www.zyzzyva.com/ 100,100
point http://www.tripod.com/ 200,200
rect mailto:[email protected] 100,150 200,0 "����?"

top

������ ����ϱ�

HTML ����

<a href="/maps/imagemap1.map">
<img ismap src="/images/imagemap1.gif">
</a>

XHTML ����

<a href="/maps/imagemap1.map">
<img ismap="ismap" src="/images/imagemap1.gif" />
</a>

top

ImapBase ���þ�

����:�̹����� ���Ͽ��� base �⺻��
����:ImapBase map|referer|URL
�⺻��:ImapBase http://servername/
������:�ּ�������, ����ȣ��Ʈ, directory, .htaccess
Override �ɼ�:Indexes
����:Base
���:mod_imagemap

ImapBase ���þ�� �̹����� ���Ͽ��� ����� base �⺻���� �����Ѵ�. �̹����� ���� �ȿ��� base ���þ ����ϸ� ���⼭ ������ ���� �����Ѵ�. �� ��� ���ٸ�, base �⺻���� http://servername/�̴�.

����

top

ImapDefault ���þ�

����:�̹����ʿ� ��� �������� �ش����� �ʴ� ��ǥ�� �� ��� �⺻ �ൿ
����:ImapDefault error|nocontent|map|referer|URL
�⺻��:ImapDefault nocontent
������:�ּ�������, ����ȣ��Ʈ, directory, .htaccess
Override �ɼ�:Indexes
����:Base
���:mod_imagemap

ImapDefault ���þ�� �̹����� ���Ͽ��� ����� default �⺻���� �����Ѵ�. �̹����� ���� �ȿ��� default ���þ ����ϸ� ���⼭ ������ ���� �����Ѵ�. �� ��� ���ٸ�, default �ൿ�� Ŭ���̾�Ʈ���� 204 No Content�� ������ nocontent�̴�. �� ��� Ŭ���̾�Ʈ�� ���� �������� �״�� ������� �Ѵ�.

top

ImapMenu ���þ�

����:��ǥ���� �̹����� ��û�� ���� �ൿ
����:ImapMenu none|formatted|semiformatted|unformatted
������:�ּ�������, ����ȣ��Ʈ, directory, .htaccess
Override �ɼ�:Indexes
����:Base
���:mod_imagemap

ImapMenu ���þ�� �̹����� ���Ͽ� ��ȿ�� ��ǥ�� ���� ���� ��� ���� �ൿ�� �����Ѵ�.

none
ImapMenu�� none�̸�, �޴��� �������ʰ� default �ൿ�� ���Ѵ�.
formatted
formatted �޴��� ���� ������ �޴���. �̹����� ������ �ּ��� �����Ѵ�. ���� ū ǥ���� �������� ����ϰ�, ��ũ�� ���پ� ����Ѵ�. �޴��� �ϰ��ǰ� �����ϸ�, ���丮 ��ϰ� �����ϴ�.
semiformatted
semiformatted �޴��� �̹����� ���Ͽ� ������ �ּ��� ����Ѵ�. ������ HTML ��ٲ����� ��ȯ�Ѵ�. ǥ���� �������� �׸��� ������, �������� formatted �޴��� ����.
unformatted
�ּ��� ����ϰ�, ������ �����Ѵ�. �̹����� ���Ͽ� �ִ� ���븸 ����Ѵ�. �̹����� ������ �ּ��� �ʿ��� ��� ��ٲް� ǥ���� ����� �Ѵ�. �޴��� �ܰ��� ���� ���������� �ٹ� �� ������, �̹����� ������ ��ǻ� �Ϲ� ���������� �ƴ� HTML�� ���� �Ѵ�.

������ ���:  en  |  fr  |  ko 

top

Comments

Notice:
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 mailing lists.