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.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.