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

Function x_translate_name

modules/examples/mod_example_hooks.c:1199–1207  ·  view source on GitHub ↗

* This routine gives our module an opportunity to translate the URI into an * actual filename. If we don't do anything special, the server's default * rules (Alias directives and the like) will continue to be followed. * * This is a RUN_FIRST hook. */

Source from the content-addressed store, hash-verified

1197 * This is a RUN_FIRST hook.
1198 */
1199static int x_translate_name(request_rec *r)
1200{
1201 /*
1202 * We don't actually *do* anything here, except note the fact that we were
1203 * called.
1204 */
1205 trace_request(r, "x_translate_name()");
1206 return DECLINED;
1207}
1208
1209/*
1210 * This routine maps r->filename to a physical file on disk. Useful for

Callers

nothing calls this directly

Calls 1

trace_requestFunction · 0.85

Tested by

no test coverage detected