next up previous contents index
Next: Statuscodes Up: No Title Previous: Common Log Format

URL Format

  

Dies ist ein Auszug aus RFC 1738, Kapitel 5, das eine Definition des URL-Formats in BNF-Notation[5] enthält.

url = httpurl | ftpurl | newsurl |
  nntpurl | telneturl | gopherurl |
  waisurl | mailtourl | fileurl |
  prosperourl


; URL schemeparts for ip based protocols:  

ip-schemepart = "/login [ "/ürlpath ]
login = [ user [ ":password ] "@" ] hostport
hostport = host [ ":port ]
host = hostname | hostnumber
hostname = *[ domainlabel "." ] toplabel
domainlabel = alphadigit | alphadigit *[ alphadigit | " ] alphadigit
toplabel = alpha | alpha *[ alphadigit | " ] alphadigit
alphadigit = alpha | digit
hostnumber = digits "." digits "." digits "." digits
port = digits
user = *[ uchar | "; "?
password = *[ uchar | "; "?
urlpath = *xchar ; depends on protocol


; The predefined schemes:
; FTP (see also RFC959)  

ftpurl = ftp://login [ "/fpath [ ";type=ftptype ]]
fpath = fsegment *[ "/fsegment ]
fsegment = *[ uchar | "? ": "@
ftptype = Ä Ï "D ä ï "d"


; FILE  

fileurl = file://" [ host | localhost" ] "/fpath

; HTTP  

httpurl = "http://" hostport [ "/" hpath [ "?ßearch ]]
hpath = hsegment *[ "/" hsegment ]
hsegment = *[ uchar | "; ": "@
search = *[ uchar | "; ": "@


; GOPHER (see also RFC1436)  

gopherurl = "gopher://" hostport [ / [ gtype [ selector
  [ %09ßearch [ %09" gopher+_string ] ] ] ] ]
gtype = xchar
selector = *xchar
gopher+_string = *xchar


; MAILTO (see also RFC822)  

mailtourl = mailto:ëncoded822addr
encoded822addr = 1*xchar ; further defined in RFC822


; NEWS (see also RFC1036)  

newsurl = news:" grouppart
grouppart = "* group | article
group = alpha *[ alpha | digit | ". "+ _" ]
article = 1*[ uchar | "; "/ "? ":


; NNTP (see also RFC977)  

nntpurl = nntp://" hostport "/" group [ "/" digits ]

; TELNET  

telneturl = telnet://login [ "/" ]

; WAIS (see also RFC1625)  

waisurl = waisdatabase | waisindex | waisdoc
waisdatabase = "wais://" hostport "/" database
waisindex = "wais://" hostport "/" database "?ßearch
waisdoc = "wais://" hostport "/" database "/" wtype "/" wpath
database = *uchar
wtype = *uchar
wpath = *uchar


; PROSPERO  

prosperourl = prospero://" hostport "/ppath *[ fieldspec ]
ppath = psegment *[ "/psegment ]
psegment = *[ uchar | "? ": "@
fieldspec = ";fieldname -fieldvalue
fieldname = *[ uchar | "? ": "@
fieldvalue = *[ uchar | "? ": "@


next up previous contents index
Next: Statuscodes Up: No Title Previous: Common Log Format
Copyright Munich Network Management Team