From fb15ae339f843b86c74f8095a1edce7b7be8218f Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Mon, 16 Mar 2009 18:34:28 +0000 Subject: [PATCH] pr7382 svn: r14130 --- collects/web-server/scribblings/configuration.scrbl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/collects/web-server/scribblings/configuration.scrbl b/collects/web-server/scribblings/configuration.scrbl index 43d576d1d3..b51bc9840b 100644 --- a/collects/web-server/scribblings/configuration.scrbl +++ b/collects/web-server/scribblings/configuration.scrbl @@ -234,6 +234,10 @@ turn the paths given in the @scheme[configuration-table] into responders for the Generates a @scheme[response/full] with the given @scheme[http-code] and @scheme[short-version] as the corresponding fields; with the content of the @scheme[text-file] as the body; and, with the @scheme[header]s as, you guessed it, headers. + +This does not cause redirects to a well-known URL, such as @filepath{conf/not-found.html}, but rather use the contents +of @filepath{not-found.html} (for example) as its contents. Therefore, any relative URLs in @scheme[text-file] are relative +to whatever URL @scheme[file-response] is used to respond @emph{to}. Thus, you should probably use absolute URLs in these files. } @defproc[(servlet-loading-responder (url url?) (exn exn?))