Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://www.arcetri.astro.it/manual/ko/mod/mod_imagemap.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013
Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 07:19:37 2014
Êîäèðîâêà: ISO8859-5

Ïîèñêîâûå ñëîâà: ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï ï
mod_imagemap - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.2 > È?Åò

ÎÖÖÔÔÅ È?Åò mod_imagemap

ÀÅÄÙ×á Î?Îþ:  en  |  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"ÐË Ñ?ÀÕ×ßÇÑÀý ×ßÁòÆ?É?ÏÅ ÐÜ ÉöÉÐÊ Î?ÎþÑ? ÀÝÐÜÄé.

Ñ?ÍÓÎþÅù

ÑæÑ?

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:nate@tripod.com 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  |  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.