| 389 | } |
| 390 | |
| 391 | static 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 | |
| 404 | static void register_hooks(apr_pool_t *p) |
| 405 | { |
nothing calls this directly
no test coverage detected