MCPcopy Create free account
hub / github.com/apache/httpd / ap_set_context_info

Function ap_set_context_info

server/core.c:863–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861}
862
863AP_DECLARE(void) ap_set_context_info(request_rec *r, const char *context_prefix,
864 const char *context_document_root)
865{
866 core_request_config *conf = ap_get_core_module_config(r->request_config);
867 if (context_prefix)
868 conf->context_prefix = context_prefix;
869 if (context_document_root)
870 conf->context_document_root = context_document_root;
871}
872
873/* Should probably just get rid of this... the only code that cares is
874 * part of the core anyway (and in fact, it isn't publicised to other

Callers 6

translate_userdirFunction · 0.85
vhost_alias_interpolateFunction · 0.85
mva_translateFunction · 0.85
try_aliasFunction · 0.85
try_alias_listFunction · 0.85
lua_ap_set_context_infoFunction · 0.85

Calls 1

Tested by

no test coverage detected