summaryrefslogtreecommitdiff
path: root/files/common/etc/config/uhttpd
diff options
context:
space:
mode:
authorKatze Miau <miaukatzemiau@priveasy.de>2011-12-11 16:45:08 (GMT)
committerKatze Miau <miaukatzemiau@priveasy.de>2011-12-11 16:45:08 (GMT)
commit65c39ba8336b9efc1d76350ae27a18da6d51d5f6 (patch)
tree153e9f49fb41e451c75b5a824f119cfab019db6e /files/common/etc/config/uhttpd
parentee91359463ae23b2ebe5cb235c7e11d362be81c8 (diff)
fsm inetable: change httpd instances in queen/ghost/robinson states
- update the redirection uhttpd config and www-root to redirect all incoming request to a url specified by /tmp/redirection_target - use this to implement robinson and splash redirection during robinson and queen/ghost states, respectively - change the service httpd to listen on the public IPv4 address available on the mesh interface in those states. Missing is the - iptable based redirection - already referenced /sbin/urlencode
Diffstat (limited to 'files/common/etc/config/uhttpd')
-rw-r--r--files/common/etc/config/uhttpd6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/common/etc/config/uhttpd b/files/common/etc/config/uhttpd
index 857a7c1..d1e2eb0 100644
--- a/files/common/etc/config/uhttpd
+++ b/files/common/etc/config/uhttpd
@@ -37,12 +37,12 @@ config disabled service
# redirection instance
config disabled redirection
option home /www/redirection
- option error_page /cgi-bin/redirect
- option index_page cgi-bin/redirect
+ option error_page /redirect
+ option index_page redirect
+ option cgi_prefix /
# default options
option rfc1918_filter 1
- option cgi_prefix /cgi-bin
option script_timeout 10
option network_timeout 30
option tcp_keepalive 10
contact: Jan Huwald // Impressum