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

Function dir_fixups

modules/mappers/mod_dir.c:391–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391static int dir_fixups(request_rec *r)
392{
393 if (r->finfo.filetype == APR_DIR) {
394 /* serve up a directory */
395 return fixup_dir(r);
396 }
397 else if ((r->finfo.filetype == APR_NOFILE) && (r->handler == NULL)) {
398 /* No handler and nothing in the filesystem - use fallback */
399 return fixup_dflt(r);
400 }
401 return DECLINED;
402}
403
404static void register_hooks(apr_pool_t *p)
405{

Callers

nothing calls this directly

Calls 2

fixup_dirFunction · 0.85
fixup_dfltFunction · 0.85

Tested by

no test coverage detected