Out of curiosity and the need to name a configuration setting properly: What do you call an URL that is an absolute path reference but without a domain?
http://www.domain.com/path/to/myfile
is an absolute, full URL.
../to/myfile
is a relative path.
What would you call /path/to/myfile
?
Is there a convention? Am I just daftly overlooking the obvious? "absolute path" would work in a file system context, but in a URL context I fear confusion with the full URL.
RFC 3986 terms it as absolute-path reference:
A relative reference that begins with a single slash character is termed an absolute-path reference.
But you can say just absolute path or absolute URL/URI path.
It probably depends on the context, that's called path-absolute
in the grammar of RFC 3986 (Uniform Resource Identifier (URI): Generic Syntax). I think most people would call this an absolute path: that's also the terminology used by RFC 1808 (obsoleted by RFC 3986).
Speaking in terms of URI as per RFC 2396, this just is a path, among scheme (http), authority, query and fragment (none in your case).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With