This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

How to set Visualization as Home Page
#3
Hi
There is work around for this :Smile
Run once to change main page when entering only IP address:
 
Code:
dst = '/www/index.html'
io.writefile(dst, [[<!DOCTYPE html>
<html>
<head>
 <meta http-equiv="refresh" content="0;URL=/scada-vis/">
</head>
<body></body>
</html>]])

 
To go back to original state run this once again:
 
Code:
dst = '/www/index.html'
io.writefile(dst, [[<!DOCTYPE html>
<html>
<head>
 <meta http-equiv="refresh" content="0;URL=/apps/">
</head>
<body></body>
</html>]])
Reply


Messages In This Thread
RE: How to set Visualization as Home Page - by morak - 21.06.2017, 10:27

Forum Jump: