Definition:
void ap_add_common_vars(request_rec *r);
Usage example:
request_rec *r;
ap_add_common_vars(r);
Adds common variables to the subprocess (child) environment by
inserting them into a request_rec's subprocess_env table.
Variables placed there are:
ap_add_cgi_vars)CONTENT_TYPECONTENT_LENGTHPATHSERVER_NAMESERVER_PORTREMOTE_HOSTREMOTE_ADDRDOCUMENT_ROOTSERVER_ADMINSCRIPT_FILENAMEREMOTE_PORTREMOTE_USERREMOTE_IDENTIf the request is the result of an error redirect, the following will also be set:
REDIRECT_QUERY_STRINGREDIRECT_URLThe following are also added in when Apache is running in a Windows environment:
SystemRootCOMSPECWINDIR
Previous: ap_add_cgi_vars
Next: ap_add_loaded_module
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)