Apache 1.3 API Documentation

Routine ap_construct_url

Definition:

char *ap_construct_url(pool *p, const char *uri, const request_rec *r);
     

Usage example:

return ap_construct_url(r->pool, r->uri, r);
     

Builds a URL by prefixing http:// to the server name contained in r, and postfixing the path found in uri.

Returns the constructed URL.


Previous: ap_construct_server Next: ap_content_type_tolower

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