scheme user password host port basePath relativeUrl | | | | | | | --\ /--\ /------\ /-------\ /--\/--\/----------------------------\ http://john:x0y17575@nette.org:8042/en/manual.php?name=param#fragment <-- absoluteUrl \__________________________/\____________/^\________/^\______/ | | | | authority path query fragment- authority: [user[:password]@]host[:port] - hostUrl: http://user:password@nette.org:8042 - basePath: /en/ (everything before relative URI not including the script name) - baseUrl: http://user:password@nette.org:8042/en/ - relativeUrl: manual.php