summaryrefslogtreecommitdiffstats
path: root/squid-saccess-html.lsp
diff options
context:
space:
mode:
authorAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-14 15:16:51 +0000
committerAndreas Brodmann <andreas.brodmann@gmail.com>2008-01-14 15:16:51 +0000
commitd3f6fac84e5ed293b121ce0d92f07eb438cf6c96 (patch)
treeeabf5f56ff5ec31380a21ec78f035b964f64d087 /squid-saccess-html.lsp
parent7c8b2854e579402d546b41457828bf7622868d5a (diff)
downloadacf-squid-d3f6fac84e5ed293b121ce0d92f07eb438cf6c96.tar.bz2
acf-squid-d3f6fac84e5ed293b121ce0d92f07eb438cf6c96.tar.xz
1) you can now change to auth methods
2) tags insertion into config file solved with default config 3) modifications on views to look better with css git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@563 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'squid-saccess-html.lsp')
-rw-r--r--squid-saccess-html.lsp43
1 files changed, 43 insertions, 0 deletions
diff --git a/squid-saccess-html.lsp b/squid-saccess-html.lsp
new file mode 100644
index 0000000..322be02
--- /dev/null
+++ b/squid-saccess-html.lsp
@@ -0,0 +1,43 @@
+<?
+ 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 - Special Access</h1>
+<p>
+<dt>
+ The squid web proxy server is normally configured to require authenticated access. In some cases, such
+ as anti-virus update programs, the process cannot authenticate itself to the proxy server. For these
+ <i>special</i> cases, it is possible to have squid allow anonymous access to the Internet.<br><br>
+ You may choose to specify the special cases by specific ip address, browser identification or destination
+ domain.
+</dt>
+</p>
+
+<form action="" method="POST">
+<h2>Special IP Addresses</h2>
+<p>
+<textarea name="s_ip" style="width:100%;"><? io.write( service.config.s_ip ) ?></textarea>
+</p>
+
+<h2>Browser Identification</h2>
+<p>
+<textarea name="s_browser" style="width:100%;"><? io.write( service.config.s_browser ) ?></textarea>
+</p>
+
+<h2>Special Domains</h2>
+<p>
+<textarea name="s_domain" style="width:100%;"><? io.write( service.config.s_domain ) ?></textarea>
+</p>
+
+<h3>Save Changes</h3>
+<dt>Save changes of the above boxes</dt><dd><input class="submit" type="submit" name="cmd" value="save"></dd>
+</form>