1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682
|
'\"
.\" (C) Copyright 1999-2000 David A. Wheeler (dwheeler@dwheeler.com)
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date. The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein. The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.\" Fragments of this document are directly derived from IETF standards.
.\" For those fragments which are directly derived from such standards,
.\" the following notice applies, which is the standard copyright and
.\" rights announcement of The Internet Society:
.\"
.\" Copyright (C) The Internet Society (1998). All Rights Reserved.
.\" This document and translations of it may be copied and furnished to
.\" others, and derivative works that comment on or otherwise explain it
.\" or assist in its implementation may be prepared, copied, published
.\" and distributed, in whole or in part, without restriction of any
.\" kind, provided that the above copyright notice and this paragraph are
.\" included on all such copies and derivative works. However, this
.\" document itself may not be modified in any way, such as by removing
.\" the copyright notice or references to the Internet Society or other
.\" Internet organizations, except as needed for the purpose of
.\" developing Internet standards in which case the procedures for
.\" copyrights defined in the Internet Standards process must be
.\" followed, or as required to translate it into languages other than English.
.\"
.\" Modified Fri Jul 25 23:00:00 1999 by David A. Wheeler (dwheeler@dwheeler.com)
.\" Modified Fri Aug 21 23:00:00 1999 by David A. Wheeler (dwheeler@dwheeler.com)
.\" Modified Tue Mar 14 2000 by David A. Wheeler (dwheeler@dwheeler.com)
.\"
.\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
.\" Translated San 12 Mar 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\"
.\"WORD: generated file (KDE ) ե
.\"
.TH URI 7 2000-03-14 "Linux" "Linux Programmer's Manual"
.SH ̾
uri, url, urn \- uniform resource identifier (URI), URL URN ޤ.
.SH
.nf
.HP 0.2i
URI = [ absoluteURI | relativeURI ] [ "#" fragment ]
.HP
absoluteURI = scheme ":" ( hierarchical_part | opaque_part )
.HP
relativeURI = ( net_path | absolute_path | relative_path ) [ "?" query ]
.HP
scheme = "http" | "ftp" | "gopher" | "mailto" | "news" | "telnet" |
"file" | "man" | "info" | "whatis" | "ldap" | "wais" | \&...
.HP
hierarchical_part = ( net_path | absolute_path ) [ "?" query ]
.HP
net_path = "//" authority [ absolute_path ]
.HP
absolute_path = "/" path_segments
.HP
relative_path = relative_segment [ absolute_path ]
.fi
.SH
.PP
Uniform Resource Identifier (URI)
ŪʪŪʥ (web ڡʤ)
̤뤿ûʸǤ롣
Uniform Resource Locator (URL) URI ΰǡ
̾ʤɤ°ǤǤϤʤ
Υб륢ᥫ˥̤ƥꤹ
(ĤޤͥåȥΡ־ (location)פꤹ)
Uniform Resource Name (URN) URI ΰǡ
оݤΥѴ줿ѤǤʤʤäˤ⡢
Х¾ȽŤʤ뤳Ȥʤ³ʤФʤʤ
.PP
URI ϡ web ֥饦ʤɤΥġ
ϥѡƥȥΥꤹɸŪˡǤ롣
ʸ "http://www.kernelnotes.org" URL Ǥ (ä
URI Ǥ⤢)¿ο͡ϡ URL Ȥդۤ URI
ƱȤƻȤäƤ (Ūˤ URL URI Υ֥åȤǤ)
.PP
URI ŪˤŪˤǤ롣
ŪʻϡƥȤ˰¸ʤǻȤ롣
ŪʻϡߤΥƥȤκۤˤäƵҤ롣
ХѥȤǤϡ "." ".." Υѥʬ (path segment)
̤ʰ̣
줾ָߤγإ٥פӡָߤγؤΰľΥ٥
Ȥư (Unix-like ʥƥƱ)
ʸޤѥʬ URI ѥƬѤ뤳ȤϤǤʤ
(Ĥޤ "this:that" ϥ)̾ȶ̤ǤʤǤ롣
Τ褦ʾˤ ./ ֤뤳 (Ĥޤ "./this:that" Ȥ)
MS-DOS λ¹ (Microsoft Windows ʤ) ϡ
ǥХ̾Υ URI ǤϿľС ("|") ֤롣
ä "C:" "C|" Ȥʤ롣
.PP
ե饰Ȼ (fragment identifier) ϡ(⤷ޤޤƤ)
̾դ줿ʬ (ե饰)
Ȥ롣 `#' Ұʹߤʸե饰Ȥꤹ롣 `#' ǻϤޤ
URI ϸߤΥΥե饰ȤȤ롣
.S ˡ
URI ΥˤϿʼबꡢ
줾ͭΥ롼̣ɲäƤ롣
Ǥ줷Τˤ褦ȤϤʤƤ롣
㤨С¿ URL ϡֵ (authority)פФưʲν
(Ǥ
.I ip_server
ȸƤ֤Ȥˤ)
Ƥ (ѳϾάǽ)
.HP
.IR "ip_server = " [ user " [ : " password " ] @ ] " host " [ : " port ]
.PP
ΥեޥåȤˤϡ桼̾桼̾+ѥɤǤ롣
ݡֹɲä뤳ȤǽǤ롣
.I host
ϥۥȥԥ塼̾ǡ DNS ̾ IP ɥ쥹
(ԥꥪɤǶڤ줿) ǻꤹ롣ä URI
<http://fred:fredpassword@xyz.com:8080/>
ϡۥ xyz.com fred Ȥ (ѥɤȤä)
ݡ 8080 Ȥäƥ롣
ѥɤϲǽʤ URI ˤϴޤʤۤɤ
ѥɤľ͡ʥƥΥꥹ뤫Ǥ롣
URL ˥桼̾ͿѥɤͿʤϡ
⡼ȥФϥѥɤᤷƤ롣
URL ᤷץब桼ˤϤ¥Ȥˤʤ
.PP
ʲˡ Unix-like ʥƥɤѤƤꡢ
¿Υġ뤬륹
URI Ȥġ¿Ǥϡüʥ
Ȥ뤳Ȥ¿Τ褦ʥ˴ؤƤϥġΥɥȤ뤳ȡ
.PP
.B "http \- Web (HTTP) "
.PP
.RI http:// ip_server / path
.br
.RI http:// ip_server / path ? query
.PP
web (HTTP) Ф˥뤿 URL Ǥ롣
ǥեȤΥݡȤ 80ѥǥ쥯ȥȤƤȤϡ
֤ web Ф롣̾ϡ
"index.html" "index.htm" Τ褦ʥե뤬СƤ֤롣
ʤСȥǥ쥯ȥΥꥹȤ (ŬڤʥȤȤ)
֤롣ȤƤ <http://lwn.net> ʤɡ
.PP
䤤碌 (query) Ť "isindex" եޥåȤˤä뤳ȤǤ롣
ΥեޥåȤñޤϥե졼ʤꡢ (=) ϴޤޤʤ
Ĺ "GET" եޥåȤǤ䤤碌ϹԤ롣
ΥեޥåȤˤϡİʾ䤤碌ȥ꤬
.IR key = value
ȤǴޤޤ롣줾Υȥϥѥ (&) Ƕڤ롣
.I key
ʣĻꤹ뤳ȤǤ롣˰̣뤫ɤ
web Фȥץꥱץब롣
HTML/XML/SGML GET 䤤碌δ֤ˤϡԹʴط롣
İʾΥδޤޤ URI SGML/XML ʸ (HTML ⤽)
ᤳޤݤˤϡѥ (&) & ȽʤФʤʤ
Ƥ䤤碌ηȤ櫓ǤϤʤ
եबĹʤ URI ˤĹ뤫顢
̤̿ᥫ˥ (POST ȸƤФ) Ѥ롣
POST Ǥ URI ˤϥǡϴޤޤʤ
ܤϡ
<http://www.w3.org/CGI> ˤ
Common Gateway Interface λͽ衣
.PP
.B "ftp \- եžץȥ (FTP)"
.PP
.RI ftp:// ip_server / path
.PP
ϥեžץȥ (FTP) ̤ƥե˥뤿
URL Ǥ롣ǥեȤ () ݡȤ 21 Ǥ롣
桼̾ʤˤϡ桼̾ anonymous Ϳ롣
Ƥξˤϡ饤Ȥ¿ᤷͤ
ͥåȥ륢ɥ쥹ѥɤȤͿ롣
ȤƤ <ftp://ftp.is.co.za/rfc/rfc1808.txt> ʤɡ
.PP
.B "gofer \- Gofer "
.PP
.RI gopher:// ip_server / "gophertype selector"
.br
.RI gopher:// ip_server / "gophertype selector" %09 search
.br
.RI gopher:// ip_server / "gophertype selector" %09 search %09 gopher+_string
.br
.PP
ǥեȤ gopher ݡȤ 70 Ǥ롣
.I gophertype
1 ʸʤեɤǡ
URL ȤƤ Gopher Υפ
ѥΤǤäƤ褯ξ϶ڤ "/" άǤ롣
ΤȤ gophertype ΥǥեȤ "1" ˤʤ롣
.PP
.I selector
Gopher 쥯ʸǤ롣Gopher ץȥǤϡ
Gopher 쥯ʸϥƥåʸʤꡢ
16ʿ 09 (US-ASCII HT ޤ tab) 0A (US-ASCII LF ʸ)
0D (US-ASCII CR ʸ) ʳʤɤʥƥåȤǤ롣
.PP
.B "mailto \- Żҥ륢ɥ쥹"
.PP
.RI mailto: email-address
.PP
Żҥ륢ɥ쥹ǡ̾
.IR name @ hostname
ȤȤ롣Żҥ륢ɥ쥹եޥåȤ˴ؤ
ܤ
.BR mailaddr (7)
衣 % ʸϤ٤ %25 ȽľʤФʤʤȤա
ȤƤ <mailto:dwheeler@dwheeler.com> ʤɡ
.PP
.B "news \- ˥塼롼ס˥塼å"
.PP
.RI news: newsgroup-name
.br
.RI news: message-id
.PP
.I newsgroup-name
ϥԥꥪɤǶڤ줿Ū̾Ǥ롣㤨
"comp.infosystems.www.misc" ʤɡ
<newsgroup-name> "*" (Ĥޤ <news:*>) ξˤϡ
ֻȤǤƤΥ˥塼롼ספΰ̣ˤʤ롣
ȤƤ <news:comp.lang.ada> ʤɡ
.PP
.I message-id
.UR http://www.ietf.org/rfc/rfc1036.txt
IETF RFC\ 1036
.UE
Message-ID 顢Ϥߤ "<" ">" äΤб롣
Message-ID
.IR unique @ full_domain_name
ȤȤ롣åλˤ "@" ʸޤޤΤǡ
˥塼롼פ̾ȶ̤Ǥ
.PP
.B "telnet \- telnet "
.PP
.RI telnet:// ip_server /
.PP
Telnet URL Ūʥƥȥӥ Telnet ץȥ
̤ƥ뤿Ѥ롣Ǹ "/" ʸϾάƤ褤
ȤƤ <telnet://melvyl.ucop.edu/> ʤɡ
.PP
.B "file \- ̾Υե"
.PP
.RI file:// ip_server / path_segments
.br
.RI file: path_segments
.PP
ϥľܥǤե
üʥȤơ
.I host
ˤ "localhost" ȤʸѤꡢʸˤƤ褤
ϡURI ᤵ줿ޥפȤߤʤ롣
path ǥ쥯ȥξϡӥ塼ϥǥ쥯ȥƤ
ĥäɽȤ褤
ߤϡޤƤΥӥ塼ư櫓ǤϤʤ
KDE ե (generated file) URL <file:/cgi-bin>
ηǥݡȤƤ롣
Ϳ줿ե뤬դʤäϡ
ե֤̾ˤäŸɤ⤷ʤ
.RB ( glob (7)
.BR glob (3)
)
.PP
Ĥν (㤨 <file:/etc/passwd>) եȤ
եޥåȤǤ롣ŤɸǤϤνƤʤäΤǡ
URI Ȥǧʤץ¸ߤ롣
Ūʸˡϡ̾˶ʸѤΡ
Ĥޤ <file:///etc/passwd> Τ褦ʤΤǤ롣
ηؤƤƱǤꡢѥޥåŤץǤ
URI Ȥǧ䤹
⤷տޤȤָߤξ꤫饹ȡפʤ顢
ϰѤ٤ǤϤʤ
<../test.txt> Τ褦ʡ˰¸ʤХѤ뤳ȡ
ΥȤƤ <file:///etc/passwd> ʤɡ
.PP
.B "man \- man ڡʸ"
.PP
.RI man: command-name
.br
.RI man: command-name ( section )
.PP
ϥΥ饤ޥ˥奢 (man) ե쥹ڡȤ롣
command-name ˤϳ̤ȥֹɲäƤ褤
ֹΰ̣ˤĤƾܤΤꤿ
.BR man (7)
ߤ衣 URI Unix-like ʥƥ (Linux ʤ)
ͭΤΤǤꡢߤϤޤ IETF ˤϿϤƤʤ
ȤƤ <man:ls(1)> ʤɡ
.PP
.B "info \- info ڡʸ"
.PP
.RI info: virtual-filename
.br
.RI info: virtual-filename # nodename
.br
.RI info:( virtual-filename )
.br
.RI info:( virtual-filename ) nodename
.PP
Υϡ饤 info եڡ
(texinfo ե뤫) Ȥ롣 info ڡ
GNU ġʤɤΥץѤƤʸեޥåȤǤ롣
URI Unix-like ʥƥ (Linux ʤ)
ͭΤΤǤꡢߤϤޤ IETF ˤϿϤƤʤ
ʸμɮˤơ GNOME KDE Ϥ줾ۤʤʸˡ URI
ѤƤꡢߤʸˡʤ
ǽ 2 Ĥν GNOME νǤ롣Ρ̾ (nodename)
ΥڡϤ٤ƥѴ롣
3 Ĥ 4 Ĥ KDE νǤ롣Ρ̾Υڡ
Τޤޥڡǽ
(URI ɸǤ϶ػߤƤΤ)
¿Υġ뤬ν٤Ƥ褦ˤʤꡢ
Ρ̾ΥڡξȤǤ褦
ʤ뤳ȤԤ GNOME Ǥ KDE Ǥ⡢
Ρ̾ά줿ϡΡ̾Ȥ "Top" Ѥ롣
GNOME ȤƤ <info:gcc> <info:gcc#G++_and_GCC> ʤɡ
KDE ȤƤ <info:(gcc)> <info:(gcc)G++ and GCC> ʤɡ
.PP
.B "whatis \- ʸ"
.PP
.RI whatis: string
.PP
Υϡޥɤ˴ؤû (1 Ԥ)
ǡ١ string ޤʸꥹȤ֤
ñ줬˥ޥå̤֤롣
.BR whatis (1)
衣
URI Unix-like ʥƥ (Linux ʤ)
ͭΤΤǤꡢߤϤޤ IETF ˤϿϤƤʤ
.PP
.B "ghelp \- GNOME إʸ"
.PP
.RI ghelp: name-of-application
.PP
Ϳ줿 application б GNOME help ɤ롣
νѤʸϤޤޤ¿ʤ
.PP
.B "ldap \- ̥ǥ쥯ȥꥢץȥ"
.PP
.RI ldap:// hostport
.br
.RI ldap:// hostport /
.br
.RI ldap:// hostport / dn
.br
.RI ldap:// hostport / dn ? attributes
.br
.RI ldap:// hostport / dn ? attributes ? scope
.br
.RI ldap:// hostport / dn ? attributes ? scope ? filter
.br
.RI ldap:// hostport / dn ? attributes ? scope ? filter ? extensions
.PP
Υ Lightweight Directory Access Protocol (LDAP)
ؤΥݡȤ롣 LDAP ʣΥФʬ
ز줿 (͡ʤ) 䤤碌뤿
ץȥǤ롣 LDAP URL ˴ؤܤ
.UR http://www.ietf.org/rfc/rfc2255.txt
RFC\ 2255
.UE
Ǹ뤳ȤǤ롣
URL γϰʲ̤:
.IP hostport 12
Ԥ LDAP Сۥ̾³ƥȥݡֹ
ɲä뤳ȤǤ롣 LDAP ΥǥեȤΥݡȤ TCP ݡ 389 Ǥ롣
άȡɤ LDAP ФѤ뤫ϥ饤Ȥꤹ롣
.IP dn
LDAP Distintuished Name (̾)
LDAP base ֥ȤꤹΤǤ (
.UR http://www.ietf.org/rfc/rfc2253.txt
RFC\ 2253
.UE
section 3 )
.IP attributes
ڤΡ֤° (attribute) Υꥹȡ
RFC\ 2251 section 4.1.5 衣άƤ°֤롣
.IP scope
Υפꤹ롣
"base" (base ֥ȸ), "one" (1 ٥븡),
"sub" (֥ĥ) Τ줫ꤹ롣
ά "base" ꤵ롣
.IP filter
ե륿 (֤륨ȥΥ֥å) ꤹ롣
άȡƤΥȥ꤬֤롣
.UR http://www.ietf.org/rfc/rfc2254.txt
RFC\ 2254
.UE
section 4 衣
.IP extensions
ޤǶڤ줿 type=value ڥΥꥹȡ
=value ʬϡᤷʤץФƤ
άǤ롣 '!' ֤줿 extension critical
(ݡȤƤʤФʤʤ) Ǥꡢ
Ǥʤ critical ǤϤʤ (άǤ)
.PP
LDAP ΥϡȤȤΤǤñǤ롣
ϡ ldap.itd.umich.edu ˡ
U.S. ˤ University of Michigan ξҤͤǤ롣
.PP
.nf
ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US
.fi
.PP
Ѥν°ϡ
Τ褦˥ꥯȤ:
.PP
.nf
ldap://ldap.itd.umich.edu/o=University%20of%20Michigan,c=US?postalAddress
.fi
.PP
host.com Υݡ 6666 ˡ University of Michigan ˤ
common name (cn) "Babs Jenson" οͤξҤͤϡ
Τ褦˥ꥯȤ:
.PP
.nf
ldap://host.com:6666/o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)
.fi
.PP
.B "wais \- ӥ"
.PP
.RI wais:// hostport / database
.br
.RI wais:// hostport / database ? search
.br
.RI wais:// hostport / database / wtype / wpath
.PP
Υ WAIS Υǡ١ʸꤹ
(WAIS ˴ؤܤ
.UR http://www.ietf.org/rfc/rfc1625.txt
IETF RFC\ 1625
.UE
)
hostport ϡۥ̾˥ȥݡֹղäΤǤ
( + ݡֹϾάġǥեȤΥݡֹ 210 Ǥ)
.PP
ǽν WAIS Υǡ١Ф븡λǤ롣
Ĥν WAIS ǡ١
.I database
Ф븡λǤ롣
Ĥν WAIS ǡ١ˤʸФǤ롣
.I wtype
WAIS Υ֥ȷǤꡢ
.I wpath
WAIS document-id Ǥ롣
.PP
.B ¾Υ
.PP
¾ˤ¿ URI ब¸ߤ롣
URI դۤȤɤΥġϡ URI ΥåȤݡȤ
(㤨 Mozilla Ѥ about: Ȥդ뤷
GNOME إץ֥饦ϤʽȯѤ toc: ȤäƤ)
줿Ϥ뤬ǹѤƤϤʤ
(㤨 prospero Ȥ)
nntp: news: बѤ褦ˤʤäΤ
Ȥʤۤɤ URN urn: ˤäơŪ̾
(㤨 urn:ietf:... IETF ʸ)
ȤƥݡȤ٤Ǥ뤬Ǥ URN ϤޤѤƤʤ
ƤΥġ뤬ƤΥݡȤƤ櫓ǤϤʤ
.SS ʸ
.PP
URI ǤϡʾϤǤ褦ˡʸμ¤Ƥ롣
.PP
ʲʸͽƤ롣ʤʸ
URI о줹뤳Ȥ뤬ˡ (Τ)
ͽ줿Ū¤Ƥ (ͤǡ
URI ˤ˥פʤФʤʤ)
.IP
; / ? : @ & = + $ ,
.PP
̤ͽʸ (unreserved character) URI ˻ȤäƤ褤
ˤϱѻʸȾʸ10 ʤο
ʲζʸ椬ޤޤ
.IP
\- _ . ! ~ * ' ( )
.PP
¾ʸϤ٤ƥפʤФʤʤ
פ줿ƥåȤ 3 ʸʤ:
Ƭ˥ѡʸ "%"³ƥƥåȥɤɽ
2 ʸ 16 ʿǤ (16 ʿαѻʸʸɤǤɤ)
㤨жʸ "%20" Τ褦˥פʤФʤ餺
ʸ "%09" "&" "%26" Ȥʤ롣
ѡʸ "%" Ͼ˥פͽ줿ŪѤΤǡ
"%" Ȥɽˤ "%25" ȥפʤФʤʤ
ΥƥȤǤϡڡʸץ饹 (+) ǥפ뤳Ȥ
̤ɤԤ롣δϴϢ RFC ǼºݤƤ櫓ǤϤʤ
( %20 侩Ƥ) ƥȤդ
ġϡνؤбѰդƤ٤Ǥ
URI ϡˡ֥פ줿פɽ롣
.PP
̤ͽʸ⥨פ뤳ȤǤˤä
URI ΰ̣ȤѤ櫓ǤϤʤ
URI ˤʸ뤳Ȥʤ褦
üʾơ٤Ǥ롣
㤨С HTTP URL path ˤ
"%7e" "~" Ѥ뤳Ȥ뤬
Ĥ HTTP URL ȤƤǤ롣
.PP
US ASCII 饯åȰʳʸ URI Ȥư硢
HTML 4.1 (section B.2) ڤ IETF RFC\ 2718 (section 2.2.5)
ʲμˡѤ褦侩Ƥ롣
.IP 1. 4
饯 UTF-8 (IETF RFC\ 2279,
.BR utf-8 (7)
) Ѵ
.IP 2.
URI Ѥ롣
ĤޤꡢǤʤƥåȤ %HH ǥɤ롣
.SS "URI ˤ"
URI ˤϡ֥륯Ȥ˽
(: "http://www.kernelnotes.org")
angle ֥饱åȤǰϤ (: <http://lwn.net>)
Ԥ URI 롣
֥륯ȤȤͤ˷ٹ:
\fBФ\fP (ʸΥԥꥪɤꥹȶڤΥ)
URI ˰ưƤϤʤʤ
angle ֥饱åȤȤ
ˤʸơޡ
褷ƴޤʤ褦ʰؤ뤳ȡ
Ԥ "Hart's Rules"
"Oxford Dictionary for Writers and Editors" ˤ
ֿ (new) פ뤤ϡŪ (logical) ʰ
ȸƤФƤꡢ ꥹͤΥϥåãϤδǤ
(ܤ
Hacker Writing Style Jargon File Υ
.I http://www.fwi.uva.nl/~mes/jargon/h/HackerWritingStyle.html
)
ŤʸǤϡ "URL:" Ȥʸ URI ľ뤳Ȥ
ƤΤ⤢뤬ηϤޤäήԤʤä
.PP
URI νۣ椵ӽ褦߷פƤ롣
URI ޤˤĤ졢ΤʤΥǥ (TV饸ʹ
Ĥʤɤʤ) URI Ȥάʤ
ȥѥǥꤹ뤳Ȥ¿ʤäƤ
(: <www.w3.org/Addressing>)
Τ褦ʻȤϥޥȤϿʹָΤΤǡ
ƥȥ١ο¬ˤä URI 䴰ǽǤ뤳Ȥ
ƤˤƤΤǤ (㤨 "www" ǤϤޤۥ̾ʤ
"http://" Ĥ "ftp" ǤϤޤۥ̾ʤ
"ftp://" Ĥ)
¿Υ饤ȤμǤϡμλȤ¬ˤäƲ褹롣
Τ褦ʿ¬ϻȤȤѤꤦ롣
ä˿बƳȤǤ롣
URI ξάǤ URL ѥζ̤դʤΤǡ
ά URI Ȥ URI ѤǤȤǤϻȤʤ
ĤޤѤߤΥ١ (ܥåʤ)
ʤ˸¤äѤǤ롣
.\"nakano: ʸ̮Ǥ dialog box Ȥϡ
ʸǤΥϥѡƥȥˤϾά URI ȤäƤϤʤʤ
ҤɸեޥåȤȤȡ
.SH
.PP
.I http://www.ietf.org/rfc/rfc2396.txt
(IETF RFC\ 2396),
.UE
.I http://www.w3.org/TR/REC-html40
(HTML 4.0).
.SH
Linux ƥ URI դġ (㤨 web ֥饦ʤ) ϡ
ˤƤΥ (ľܤޤϴܤ) ٤Ǥ롣
man: info: ޤơǤ롣
ν¾Υץ¹ԤΤɤȤ
¤ϤǤ٤Ǥ롣
.PP
Ūˤϡե饰Ȥ URI ΰǤϤʤ
.PP
URI (URL ޤ) ǡեޥåȤᤳˡ˴ؤϡ
ΥեޥåȤΥɥȤ衣 HTML
<A HREF="\fIuri\fP">\fItext\fP</A>
Ѥ롣 texinfo @uref{\fIuri\fP} ȤѤ롣
man mdoc ϡǶɲä줿 UR ޥȤ
뤤 URI ΤޤޥƥȤᤳ
(ӥ塼 :// URI ΰȲǤʤФʤʤ)
.PP
ǥȥå״ĶǤ GNOME KDE ϡ
줾դ URI (äˤ줾Υإץ֥饦ˤ)
ۤʤäƤ롣
man ڡꥹȤˤϡ
GNOME Ǥ <toc:man> Ѥ KDE Ǥ <man:(index)> Ѥ롣
ޤ info ڡꥹȤˤϡ
GNOME Ǥ <toc:info> Ѥ KDE Ǥ <info:(dir)> Ѥ
( man ڡԤ KDE ΥץΤۤߤǤ롣
ɸŪʽɤ)
̤ KDE ե (generated file) ΥץեåȤ
<file:/cgi-bin/> Ѥ롣
.\"nakano: ̣參... KDE ˾ܤ͡
KDE HTML ʸ
<file:/cgi-bin/helpindex> ͳǥΤߤʤ褦Ǥ롣
GNOME ʸݴɡ ghelp ѤˡäƤ褦
ɤΥ֥饦⡢Ǥ file: ˤǥ쥯ȥ껲Ȥʤ
äƥǥ쥯ȥΤ֥饦ǽ URI ǻȤ뤳Ȥ
˽Ҥ٤褦ˡĤδĶǤ info:
ۤʤäƤ (餯ǤפʺۤǤ)
GNOME KDE URI եޥåȤ˼̤뤳Ȥ˾ޤ
man ڡϤμ̤̤ҤǤ뤳Ȥ˾ࡣ
κȤؤνϤ
.SS ƥ
.PP
URI ΤΤϥƥζҤΤǤϤʤ
ǤϥξͿƤ URL
äȤǤĤŤȤݾڤϰ̤ˤϤʤ
ޤ URL ˤ̤ΥʤȤ¤ʤ
Τ褦ݾڤϡ֤̾ȥȤƤĿͤ
Τ˲ʤ
.PP
̵˸ (˴ϢŤ줿ƥƥμʤ)
ˤäơºݤˤϥ⡼Ȥ˥Ϳư褦
URL Ҥ뤳ȤˤäƤϲǽǤ롣
URL ŵŪʤΤϡΥͥåȥץȥ
ͽƤݡֹȤϰۤʤݡȤꤷƤΤǤ롣
URL Ƥˤ̿ޤޤƤơ
ΥץȥˤäƲᤵ줿Ȥ
ͽʤưΤǤ롣
ȡ gopher URL ˤäơտޤʤå
ʤꤹޤåʤɤ SMTP зͳ褦ʤȤä
.PP
ΥץȥΥǥեȰʳΥݡֹꤷƤ
URL ѤȤˤդ٤Ǥ롣
äˤֹ椬ͽ֤ˤˤϡ
.PP
URI ˡΥץȥФǥߥפ줿äƤ
դɬפǤ
(㤨 telnet ץȥФ CR ʸ LF ʸʤ)
ʤʤ餳ž˥פʤǤ롣
ϥץȥȿƤꡢͽʤ餯ϳˤʤ褦
⡼ư̤Ȥʤ꤫ͤʤ
.PP
̩ˤƤ٤ѥɤޤ URI ȤΤ
ʤΤ餫Ǥ롣äˡѥɤ URI
'userinfo' ʬ˻ȤΤФ٤Ǥ롣
'password' ΥѥտŪ˸̤Ǥ뤬
.SH Х
.PP
ʸ͡ʾ֤줦롣äƸǤϡ
ǤդΥեޥåȤǽ줿̤Υ饤ʸФɤ URI ब
¸ߤʤ
<file:///usr/doc/ZZZ> λȤϻȤʤʤʤ
ǥȥӥ塼ؤΥȡκݤξˤäơ
եϰۤʤǥ쥯ȥ֤뤳Ȥ뤫Ǥ
(/usr/doc /usr/local/doc /usr/share ¾ξ꤫ʤɤʤ)
ޤǥ쥯ȥ ZZZ ̾СѤȰۤʤäΤˤʤ
(ե̾Υ֤ˤäƤٹǤ)
Ǹˤ⤦ġʸͥåȤ (Υե륷ƥ
եɤΤǤϤʤ) ưŪ˥ɤ͡ϡ
ʤʤ file: ȤäƤʤ
ˤϿ URI (㤨 "userdoc:" Τ褦) ɲä졢
ܤʸؤΥե
ʸΤʾץबΤʤƤǽˤʤ뤫⤷ʤ
뤤ϡե륷ƥ൬ʤξǤ
եξλ긷̩ˤơ
file: ˤʸΰֻ꤬ǽˤʤ뤫⤷ʤ
.PP
ץեեޥåȤ¿Ǥϡ
URI Ȥäꤹˡʤ
.PP
ץ¿ϡ URI եޥåȤ٤Ƥϰʤ
桼δĶ (ƥȤեå
ǥȥå״Ķ桼ιߡ
¹ԤƤġ) ʤɤưŪ˸Τơ
Ǥդ URI ɤ URI Ŭġư褦
ɸŪʻȤߤȤΤ
.\" .SH
.\" man ڡ David A. Wheeler (dwheeler@ida.dwheeler.com)
.SH Ϣ
.BR lynx (1),
.BR man2html (1),
.BR mailaddr (7),
.BR utf-8 (7),
.UR http://www.ietf.org/rfc/rfc2255.txt
IETF RFC\ 2255.
.UE
|