hostname of the webserver inserted to allow relative links
This commit is contained in:
parent
e5d878db27
commit
20b8da0df2
2 changed files with 10 additions and 7 deletions
|
@ -4,4 +4,7 @@ echo
|
|||
echo "Starting web-splash ..."
|
||||
/etc/init.d/S89web-splash start
|
||||
echo
|
||||
echo "Maybe you should restart your webserver (thttpd needs this to see the new error-404-document).."
|
||||
echo "Maybe you should:"
|
||||
echo " 1) restart your webserver (thttpd needs this to see the new error-404-document)"
|
||||
echo " 2) change the hostname in /www/index.html to the IP or name of the router"
|
||||
echo
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="expires" content="0">
|
||||
<meta http-equiv="refresh" content="0; URL=http://100.100.100.100/cgi-bin/web-splash.cgi">
|
||||
<!-- the destination IP does NOT matter, because everything gets redirected
|
||||
by the iptables rules to this webserver as long as the source IP
|
||||
is not registered; of course you may adapt it to your network address -->
|
||||
<meta http-equiv="refresh" content="0; URL=http://wrt/cgi-bin/web-splash.cgi">
|
||||
<!-- the name of the host part of the URL does not really matter if you do not
|
||||
use relative links within the SPLASH_DOCUMENT page
|
||||
maybe you want to put the name (or IP) of your router here -->
|
||||
<title>Umleitung des offenen Netzes</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<br><br>
|
||||
<p>If you do not get redirected, then please follow this <a href="http://100.100.100.100/cgi-bin/web-splash.cgi">link</a> to enable internet access.</p>
|
||||
<p>If you do not get redirected, then please follow this <a href="http://wrt/cgi-bin/web-splash.cgi">link</a> to enable internet access.</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>Falls du nicht automatisch weitergeleitet wurdest, dann folge diesem <a href="http://100.100.100.100/cgi-bin/web-splash.cgi">Link</a>, um deine Internetverbindung freizuschalten.</p>
|
||||
<p>Falls du nicht automatisch weitergeleitet wurdest, dann folge diesem <a href="http://wrt/cgi-bin/web-splash.cgi">Link</a>, um deine Internetverbindung freizuschalten.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue