summaryrefslogtreecommitdiff
path: root/cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index c4438b0..62be0a3 100644
--- a/cgi.c
+++ b/cgi.c
@@ -103,7 +103,7 @@ static bool check_cgi_path(struct path_info *pi, const char *url)
}
pi->ip = NULL;
- return uh_path_match(conf.cgi_prefix, url);
+ return uh_path_match(conf.cgi_docroot_path, pi->phys);
}
struct dispatch_handler cgi_dispatch = {