git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
99b89b1
)
applications/luci-splash: Add cache control
author
Manuel Munz
<redacted>
Sat, 11 Dec 2010 03:38:35 +0000
(
03:38
+0000)
committer
Manuel Munz
<redacted>
Sat, 11 Dec 2010 03:38:35 +0000
(
03:38
+0000)
applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
patch
|
blob
|
history
diff --git
a/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
b/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
index c9d614bf10be6630ab103511f6dffd9e75ef2d38..08eba72ac0a1f6905981a4c6ec5b0c4bdc2b1288 100755
(executable)
--- a/
applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
+++ b/
applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
@@
-1,3
+1,6
@@
#!/bin/sh
-echo -en "Status: 302 Moved\r\n"
+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"
git clone https://git.99rst.org/PROJECT