Apache 1.3 API Documentation

Routine ap_document_root

Definition:

const char *ap_document_root(request_rec *r);
     

Usage example:

request_rec *r;
const char *docroot;
docroot = ap_document_root(r)
    
     

This routine returns the filesystem path of the setting for the DocumentRoot directive for the server or virtual host to which the specified request was assigned.

See also:
DOCUMENT_LOCATION

Previous: ap_discard_request_body Next: ap_each_byterange

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