diff options
Diffstat (limited to 'src/tipideed')
-rw-r--r-- | src/tipideed/tipideed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/tipideed.c b/src/tipideed/tipideed.c index 42e65a6..e1021d3 100644 --- a/src/tipideed/tipideed.c +++ b/src/tipideed/tipideed.c @@ -229,7 +229,7 @@ static inline int serve (tipidee_rql *rql, char const *docroot, size_t docrootle if (rql->m != TIPIDEE_METHOD_OPTIONS) { tipidee_redirection rd = TIPIDEE_REDIRECTION_ZERO ; - int e = tipidee_conf_get_redirection(&g.conf, fn, docrootlen, &rd) ; + int e = tipidee_conf_get_redirection(&g.conf, docroot, docrootlen, rql->uri.path, &rd) ; if (e == -1) die500sys(rql, 111, "get redirection data for ", fn) ; if (e) { |