Lines Matching refs:hostname

147 # 			http://hostname:OTHER_PORT
148 # http://hostname:OTHER_PORT/*
232 local hostname="${url#*://}" port=80 dir=/
233 case "$hostname" in
239 "$hostname"
240 hostname="${hostname#\[}"
241 port="${hostname#*\]:}"
243 dir="/${hostname#*/}"
244 hostname="${hostname%%\]:*}"
247 f_dprintf "Looks like an IPv6 addr with port: %s" "$hostname"
248 hostname="${hostname#\[}"
249 port="${hostname#*\]:}"
251 hostname="${hostname%%\]:*}"
254 f_dprintf "Looks like an IPv6 addr with dir: %s" "$hostname"
255 hostname="${hostname#\[}"
256 dir="/${hostname#*/}"
257 hostname="${hostname%%\]*}"
260 f_dprintf "Looks like an IPv6 addr: %s" "$hostname"
261 hostname="${hostname#\[}"
262 hostname="${hostname%\]}"
269 "DNS name or IPv4 addr" "$hostname"
270 port="${hostname#*:}"
272 dir="/${hostname#*/}"
273 hostname="${hostname%%:*}"
277 "$hostname"
278 port="${hostname#*:}"
279 hostname="${hostname%%:*}"
283 "$hostname"
284 dir="/${hostname#*/}"
285 hostname="${hostname%%/*}"
288 f_dprintf "Looks like a DNS name or IPv4 addr: %s" "$hostname"
289 : leave hostname as-is
292 f_dprintf "hostname = \`%s'" "$hostname"
300 f_validate_ipaddr "$hostname" ||
301 f_validate_ipaddr6 "$hostname"
303 f_show_info "$msg_looking_up_host" "$hostname"
304 f_dprintf "%s: Looking up hostname, %s, using host(1)" \
305 "f_media_set_http" "$hostname"
306 if ! f_quietly f_host_lookup "$hostname"; then
307 f_show_msg "$msg_cannot_resolve_hostname" "$hostname"
314 f_dprintf "Found DNS entry for %s successfully." "$hostname"
317 setvar $VAR_HTTP_HOST "$hostname"
362 f_dprintf "%s: Looking up hostname, %s, using host(1)" \
544 # address, or DNS hostname of your choice.
583 f_dprintf "%s: Looking up hostname, %s, using host(1)" \