From: Jo-Philipp Wich Date: Thu, 16 Jun 2011 23:02:20 +0000 (+0000) Subject: luci-0.10: merge r7157 X-Git-Tag: 0.10.0~121 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=73b0b60efc1fbf56ffa42eff4835faa979f240e9;p=oweals%2Fluci.git luci-0.10: merge r7157 --- diff --git a/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh b/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh index 0abb72373..75e3c2edf 100755 --- a/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh +++ b/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh @@ -2,5 +2,24 @@ echo -en "Cache-Control: no-cache, max-age=0, no-store, must-revalidate\r\n" echo -en "Pragma: no-cache\r\n" echo -en "Expires: -1\r\n" -echo -en "Status: 307 Temporary Redirect\r\n" -echo -en "Location: http://$SERVER_ADDR/cgi-bin/luci/splash\r\n\r\n" +echo -en "Status: 403 Forbidden\r\n" +echo -en "Content-Type: text/html\r\n\r\n" +#echo -en "Status: 307 Temporary Redirect\r\n" +#echo -en "Location: http://$SERVER_ADDR/cgi-bin/luci/splash\r\n\r\n" + +cat < + + Splash + + + +

Splash on $(cat /proc/sys/kernel/hostname)

+

+ Redirecting to authentication for $REMOTE_ADDR on $SERVER_ADDR.

+ [Click here to continue...] +

+ + +EOT +