*) added message if unrestricted access from localhost is possible

*) added link to admin access config page

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6543 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 15 years ago
parent 028657f019
commit 04d91c67d6

@ -129,6 +129,10 @@ public class Status {
prop.put("protection", "1"); // protected prop.put("protection", "1"); // protected
} }
if (sb.getConfigBool("adminAccountForLocalhost", false)) {
prop.put("unrestrictedLocalAccess", 1);
}
// free disk space // free disk space
if ((adminaccess) && (!sb.observer.getDisksOK())) if ((adminaccess) && (!sb.observer.getDisksOK()))
{ {

@ -17,10 +17,17 @@
<dt>Protection</dt> <dt>Protection</dt>
<dd>#(protection)# <dd>#(protection)#
<strong>Password is missing</strong> <strong>Password is missing.</strong>
:: ::
password-protected password-protected
#(/protection)#</dd> #(/protection)#
#(unrestrictedLocalAccess)#
::
<br />Unrestricted access from localhost.
#(/unrestrictedLocalAccess)#
<a href="ConfigAccounts_p.html">[Configure]</a>
</dd>
<dt>Address</dt> <dt>Address</dt>
<dd>Host: #[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled#(/sslSupport)#<br /> <dd>Host: #[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled#(/sslSupport)#<br />
@ -102,7 +109,7 @@
<dd> <dd>
#(seedServer)# #(seedServer)#
Disabled. Disabled.
<a href="Settings_p.html?page=seed">[Configure]</a>. <a href="Settings_p.html?page=seed">[Configure]</a>
:: ::
Enabled: Updating to server #[seedServer]#. Enabled: Updating to server #[seedServer]#.
Last upload: #[lastUpload]# ago. Last upload: #[lastUpload]# ago.

Loading…
Cancel
Save