summaryrefslogtreecommitdiffstats
path: root/squid-digest-html.lsp
blob: 2f13432b90680b25453030755ec6cd262e46c41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<? 
   local form = ... 
   local data = form.option
   local service = form.service
   
   local srv1fill = ""
   local srv2fill = "disabled"
   if service.status == "running" then
   	srv1fill = "disabled"
   	srv2fill = ""
   end
   
?>
<h1>Web Proxy Configuration</h1>
<p>
<dt>
  This panel allows you to edit the list of usernames allowed to access the internet through the squid web proxy.
  This list is active only for digest authentication. If you are using NTLM authentication, all domain users are
  allowed to use the web proxy.
</dt>
</p>

<h2>User List</h2>
<form action="" method="POST">
<textarea name="userlist" style="width:100%;"><? io.write( service.config ) ?></textarea>

<h3>Save Changes</h3>
<dt>Save the contents of the box above</dt><dd><input class="submit" type="submit" name="cmd" value="save"></dd>
</form>