Name

server_http_port, server_https_port, dav_root, http_dav_uid, http_admin_gid, http_nobody_uid, http_nogroup_gid, sys_connected_server_address — read the HTTP listener configuration and WebDAV principal IDs

Synopsis

integer server_http_port( );
 
integer server_https_port( );
 
varchar dav_root( );
 
integer http_dav_uid( );
 
integer http_admin_gid( );
 
integer http_nobody_uid( );
 
integer http_nogroup_gid( );
 
varchar sys_connected_server_address( );
 

Description

server_http_port returns the integer port on which the HTTP listener is bound (the value of the ServerPort configuration parameter), or 0 if HTTP is disabled. server_https_port does the same for the TLS listener.

dav_root returns the absolute WebDAV path under which the current connection's HTTP map is rooted (typically '/DAV').

http_dav_uid, http_admin_gid, http_nobody_uid and http_nogroup_gid return the integer user/group IDs of the three special principals used by the HTTP / WebDAV security layer: the dav user, the administrators group, and the nobody / nogroup pair used for anonymous access. Use them when constructing ACL operations that need to reference these principals by id rather than by name.

sys_connected_server_address returns the network address of the listener that accepted the current connection (host:port), or SQL NULL when called outside a network-bound connection.


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®