diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-09-18 12:29:20 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-09-18 12:29:20 +0000 |
commit | 28fb85a4404b102e9660c306c2c71e0633c03ddb (patch) | |
tree | f36f93b7c620fc290b54e76e862c1015750b79f3 /squid-basic-html.lsp | |
parent | 77b5c04c6b5c6aa966c558fc6e63cd2283205dc9 (diff) | |
download | acf-squid-28fb85a4404b102e9660c306c2c71e0633c03ddb.tar.bz2 acf-squid-28fb85a4404b102e9660c306c2c71e0633c03ddb.tar.xz |
Rewrote squid to remove dependence on tags in config file. Removed ntlm settings, which will have to be implemented in winbindd acf. No support yet for advanced config.
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@1475 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'squid-basic-html.lsp')
-rw-r--r-- | squid-basic-html.lsp | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/squid-basic-html.lsp b/squid-basic-html.lsp deleted file mode 100644 index 8822f87..0000000 --- a/squid-basic-html.lsp +++ /dev/null @@ -1,91 +0,0 @@ -<% -require("viewfunctions") - - local form, viewlibrary = ... - local service = form.service - local config = form.service.config - - local ifthen = function( variable, value, result ) - if variable == value then - io.write( result ) - end - end - -%> - -<% if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("status") -end %> - -<h1>Configuration</h1> -<form action="" method="POST"> -<h2>Primary Listener service</h2> -<p>These parameters define the interface and port that the web proxy uses to accept connections.</p> - -<dl> -<dt>proxyip</dt> -<dd><input class="text" type="text" name="proxyip" value="<% io.write( config.proxyip.value ) %>"></dd> -<dt>proxyport</dt> -<dd><input class="text" type="text" name="proxyport" value="<% io.write( config.proxyport.value ) %>"></dd> -</dl> - -<h2>Filter Service</h2> -<p>These parameters define the ip address and port that the web proxy forwards requests to. -This is typically the address that DansGuardian (Web Content Filter) is listening on. -If you want this web proxy to handle retrieving the content, then leave these blank.</p> -<p>Filtering is a cpu-intensive process. The FilterRegex is a list of regular expressions that qualify -for filtering. Anything not matching the regular expression filter will bypass the content filter. -It is safe to leave this at the default settings.</p> - -<dl> -<dt>filterip</dt><dd><input class="text" type="text" name="filterip" value="<% io.write( config.filterip.value ) %>"</dd> -<dt>filterport</dt><dd><input class="text" type="text" name="filterport" value="<% io.write( config.filterport.value ) %>"></dd> -<dt>FilterRegex</dt><dd><input class="text" type="text" name="filterregex" value="<% io.write( config.filterregex.value ) %>"></dd> -</dl> - -<h2>Access Logs</h2> -<p>This determines if the visited sites are logged or not.</p> -<dl> -<dt>Log visited sites</dt> -<dd><input type="radio" name="accesslog" value="no"<% ifthen( config.accesslog.value, "no", " checked" ); %>> No access log -<input type="radio" name="accesslog" value="yes"<% ifthen( config.accesslog.value, "yes", " checked" ); %>> Use access log</dd> -</dl> - -<h2>Disk Cache Parameters</h2> -<p>This determines if the disk is used for caching. This can speed up web surfing when many clients are accessing the Internet, -but it requires a local hard disk.</p> - -<dl> -<dt>Enable disk caching</dt> -<dd><input class="radio" type="radio" name="diskcache" value="no"<% ifthen( config.diskcache.value, "no", " checked" ); %>>No -<input class="radio" type="radio" name="diskcache" value="yes"<% ifthen( config.diskcache.value, "yes", " checked" ); %>>Yes</dd> -</dl> - -<h2>Allowed Ports</h2> -<p>Web servers typically run on port 80; SSL (https) servers typically run on port 443. Some web -servers run on other ports as well. These fields list all ports and port ranges that are considered -"safe" for the web proxy to handle.</p> -<p>It is safe to leave these values at their default values.</p> - -<dl> -<dt>Safe_ports</dt><dd><input class="text" type="text" name="safeports" value="<% io.write( config.safeports.value ) %>"></dd> -<dt>SSL_ports</dt><dd><input class="text" type="text" name="sslports" value="<% io.write( config.sslports.value ) %>"></dd> -</dl> - -<h2>Save changes</h2> -<dl> -<DT>Save above changes</DT><DD><input class="submit" type="submit" name="cmd" value="save"></DD> -<% if #service.error > 0 then %> -<DT>Config status</DT><DD class="error"><% io.write(service.error ) %></DD> -<% end %> -<DT>Process information</DT><DD>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.</DD> - -</dl> -</form> - -<% if viewlibrary and viewlibrary.dispatch_component then - viewlibrary.dispatch_component("startstop") -end %> - |