summaryrefslogtreecommitdiffstats
path: root/squid-cfilter-html.lsp
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2007-11-26 18:23:03 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2007-11-26 18:23:03 +0000
commitfe04e58f47a99e0adf8df823e5d2e12efb788c96 (patch)
tree254eff002b7accc4655a72237625b58b4aca1616 /squid-cfilter-html.lsp
parent31f83752e43f441acaffa5c516f59f57005e802e (diff)
downloadacf-squid-fe04e58f47a99e0adf8df823e5d2e12efb788c96.tar.bz2
acf-squid-fe04e58f47a99e0adf8df823e5d2e12efb788c96.tar.xz
updated daily work on /acf/squid
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@367 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'squid-cfilter-html.lsp')
-rw-r--r--squid-cfilter-html.lsp21
1 files changed, 11 insertions, 10 deletions
diff --git a/squid-cfilter-html.lsp b/squid-cfilter-html.lsp
index 89c8aab..faddfdf 100644
--- a/squid-cfilter-html.lsp
+++ b/squid-cfilter-html.lsp
@@ -18,14 +18,14 @@
end
?>
-<h1>Content Filter</1>
+<h1>Content Filter</h1>
DansGuardian is web content filtering software. It works as a web proxy,
making web requests in behalf of the client, and inspecting the returned
content before passing on to the client. DansGuardian uses phraselists to
identify harmful content. This means that updated "blacklists" are
generally not necessary. DansGuardian must be used in combination with a
"smart proxy", such as squid.
-<b>This page defines the basic network configuration settings for DansGuardian.</b><br>
+<b>This page defines the basic network configuration settings for DansGuardian.</b><br><br>
<h1>Status</h1>
<form action="" method="POST">
@@ -38,10 +38,11 @@ generally not necessary. DansGuardian must be used in combination with a
</form>
<pre style="color: #ff2020;"><? io.write( service.message ) ?></pre><br>
+<pre style="color: #ff2020;"><? io.write( service.cfgerr ) ?></pre><br>
This process runs as a service. When you make and save changes, the configuration
files for the service are changed. However, the changes will not be <i>applied</i>
-until you restart the service.<br><br>
+until you restart the service.<br><br><br>
<form action="" method="POST">
<h1>Configuration</h1>
@@ -49,16 +50,16 @@ until you restart the service.<br><br>
These parameters define the interface and port that Dansguardian uses to accept connections.<br><br>
<table>
-<tr><td align="right"><b>filterip</b></td><td><input type="text" name="filterip" value="<? io.write( config.filterip.value ) ?>"></td></tr>
-<tr><td align="right"><b>filterport</b></td><td><input type="text" name="filterport" value="<? io.write( config.filterport.value ) ?>"></td></tr>
+<tr><td align="right"><b>filterip</b></td><td><input type="text" name="filterip" value="<? io.write( config.filterip.value ) ?>" style="width:100px"></td></tr>
+<tr><td align="right"><b>filterport</b></td><td><input type="text" name="filterport" value="<? io.write( config.filterport.value ) ?>" style="width:100px"></td></tr>
</table><br>
<h2>Proxy service</h2>
These parameters define the ip address and port that Dansguardian should forward requests on to.<br><br>
<table>
-<tr><td align="right"><b>proxyip</b></td><td><input type="text" name="proxyip" value="<? io.write( config.proxyip.value ) ?>"></td></tr>
-<tr><td align="right"><b>proxyport</b></td><td><input type="text" name="proxyport" value="<? io.write( config.proxyport.value ) ?>"></td></tr>
+<tr><td align="right"><b>proxyip</b></td><td><input type="text" name="proxyip" value="<? io.write( config.proxyip.value ) ?>" style="width:100px"></td></tr>
+<tr><td align="right"><b>proxyport</b></td><td><input type="text" name="proxyport" value="<? io.write( config.proxyport.value ) ?>" style="width:100px"></td></tr>
</table><br>
<h2>Filter Actions</h2>
@@ -67,9 +68,9 @@ determines that the content is inappropriate. The "naughtynesslimit" is more sen
The author recommends 50 for "young children", 100 for "older children" and 160 for "young adults".<br><br>
<table>
-<tr><td align="right"><b>accessdeniedaddress</b></td><td><input type="text" name="accessdeniedaddress" value="<? io.write( config.accessdeniedaddress.value ) ?>"</td></tr>
-<tr><td align="right"><b>naughtynesslimit</b></td><td><input type="text" name="naughtynesslimit" value="<? io.write( config.naughtynesslimit.value ) ?>"></td></tr>
-</table><br>
+<tr><td align="right"><b>accessdeniedaddress</b></td><td><input type="text" name="accessdeniedaddress" value="<? io.write( config.accessdeniedaddress.value ) ?>" style="width:250px"></td></tr>
+<tr><td align="right"><b>naughtynesslimit</b></td><td><input type="text" name="naughtynesslimit" value="<? io.write( config.naughtynesslimit.value ) ?>" style="width:100px"></td></tr>
+</table><br><br>
<input type="submit" name="cmd" value="save" style="width:100px"><br>
</form>