Apache 1.3 API Documentation

Routine ap_construct_server

Definition:

char *ap_construct_server(pool *p, const char *hostname, unsigned port, const request_rec *r);
     

Usage example:

No examples available; not used in Apache 1.3.
     

Builds the server part of a URL, by appending :port to hostname if port isn't 80 (the HTTP port).

Returns the server string.


Previous: ap_close_piped_log Next: ap_construct_url

Table of Contents (Routines, Structures, Data Cells, Constants)