util::configured_location (public)

 util::configured_location [ -suppress_port ]

Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Return the configured location as configured for the current network driver. While [util_current_location] honors the virtual host information of the host header field, util::configured_location returns the main configured location (probably the main subsite). This also differs from [ad_url], which returns always the same value from the kernel parameter, since it returns either the https or http result.

Switches:
-suppress_port
(boolean) (optional)
Returns:
the configured location in the form "proto://hostname?:port?"
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 packages/acs-subsite/www/admin/index.tcl packages/acs-subsite/ www/admin/index.tcl util::configured_location util::configured_location packages/acs-subsite/www/admin/index.tcl->util::configured_location util::join_location util::join_location (public) util::configured_location->util::join_location util_driver_info util_driver_info (public) util::configured_location->util_driver_info

Testcases:
No testcase defined.
Source code:
    set driver_info [util_driver_info]
    return [util::join_location  -proto    [dict get $driver_info proto]  -hostname [dict get $driver_info hostname]  -port     [expr {$suppress_port_p ? "" : [dict get $driver_info port]}]]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-tcl/tcl/utilities-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: