Name
ap_construct_server — make the server part of a URL
Synopsis
char *ap_construct_server(pool *p, const char *hostname, int port, request_rec *r)
Makes the server part of a URL by appending
:<port>
to hostname
if
port
is not the default port for the scheme used
to make the request.