version 1.77, 2014/07/19 13:15:11 |
version 1.78, 2014/07/21 15:45:17 |
Line 564 pg_searchres(const struct req *req, struct manpage *r, |
|
Line 564 pg_searchres(const struct req *req, struct manpage *r, |
|
* without any delay. |
* without any delay. |
*/ |
*/ |
printf("Status: 303 See Other\r\n"); |
printf("Status: 303 See Other\r\n"); |
printf("Location: %s/%s/%s?", |
printf("Location: http://%s%s/%s/%s?", |
scriptname, req->q.manpath, r[0].file); |
HTTP_HOST, scriptname, req->q.manpath, r[0].file); |
http_printquery(req); |
http_printquery(req); |
printf("\r\n" |
printf("\r\n" |
"Content-Type: text/html; charset=utf-8\r\n" |
"Content-Type: text/html; charset=utf-8\r\n" |