+ "This is not a valid pathname index.");
+ } else {
+ document = html_query(ctx->t, index, cfg);
+ if (document) {
+ ret = http_success("text/html", 1, document);
+ sfree(document);
+ } else {
+ ret = http_error("404", "Not Found", NULL,
+ "Pathname index out of range.");
+ }