diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-21 14:26:55 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-21 14:26:55 +0400 |
commit | e58e8d944417f5255352c6594784017ff7c6fa27 (patch) | |
tree | a348127b1da388cc6665b08a8586c1794b283601 /networking/Config.in | |
parent | 45946f8b513d9c292613ac08c3ddf4a89b915752 (diff) |
httpd: add optional support for error pages
(by Pierre Metras <genepi@sympatico.ca>)
Diffstat (limited to 'networking/Config.in')
-rw-r--r-- | networking/Config.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/networking/Config.in b/networking/Config.in index 3013be676..5275adc5f 100644 --- a/networking/Config.in +++ b/networking/Config.in @@ -170,6 +170,19 @@ config FEATURE_HTTPD_ENCODE_URL_STR For example, httpd -e "<Hello World>" as "<Hello World>". +config FEATURE_HTTPD_ERROR_PAGES + bool "Enable support for custom error pages" + default n + depends on HTTPD + help + This option allows you to define custom error pages in + the configuration file instead of the default HTTP status + error pages. For instance, if you add the line: + E404:/path/e404.html + in the config file, the server will respond the specified + '/path/e404.html' file instead of the terse '404 NOT FOUND' + message. + config IFCONFIG bool "ifconfig" default n |