Added a page that is to be shown when someone tries to access

Firefly from a non local host when there is no password set
for the web admin.
The page is not styled since the whole web admin will be
"Fireflied" soonish.
This commit is contained in:
Anders Betnér 2006-05-31 19:52:04 +00:00
parent b982dd506c
commit 3b8bc27e85

24
admin-root/no_access.html Normal file
View File

@ -0,0 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>mt-daapd</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>No access</title>
</head>
<body>
<h1>No access</h1>
You have no password set in you config file.<br />
Without a password access is only permitted from the computer were<br /> Firefly is running.<br />
<br />
To enable Firefly remote administration open your config file:<br />
@CONFFILE@ <br />
Find the section mark <code>[general]</code> and add the following line after the mark: <br />
<br />
<code>
admin_pw = your_password
</code>
<br />
<br />
You need to restart Firefly for the change to take effect.
</body>
</html>