summaryrefslogtreecommitdiff
path: root/networking/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-21 10:26:55 +0000
committerDenis Vlasenko2007-08-21 10:26:55 +0000
commite58e8d944417f5255352c6594784017ff7c6fa27 (patch)
treea348127b1da388cc6665b08a8586c1794b283601 /networking/Config.in
parent45946f8b513d9c292613ac08c3ddf4a89b915752 (diff)
downloadbusybox-e58e8d944417f5255352c6594784017ff7c6fa27.zip
busybox-e58e8d944417f5255352c6594784017ff7c6fa27.tar.gz
httpd: add optional support for error pages
(by Pierre Metras <genepi@sympatico.ca>)
Diffstat (limited to 'networking/Config.in')
-rw-r--r--networking/Config.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/networking/Config.in b/networking/Config.in
index 3013be6..5275adc 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
"&#60Hello&#32World&#62".
+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