diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-01-08 16:34:13 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-01-08 16:34:13 +0000 |
commit | e0c1fb3bf69a76f3635556e45ddb55069ec1dcaf (patch) | |
tree | c9c5efec5f335eb0075f6eae84e2ccb659abad97 /squid-basic-html.lsp | |
parent | bfc6e26dccfc3093d148ee80e31fc9d06ee989c3 (diff) | |
download | acf-squid-e0c1fb3bf69a76f3635556e45ddb55069ec1dcaf.tar.bz2 acf-squid-e0c1fb3bf69a76f3635556e45ddb55069ec1dcaf.tar.xz |
Adding some <P>, <DT> and <DD> (and removed some tables)
git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@514 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'squid-basic-html.lsp')
-rw-r--r-- | squid-basic-html.lsp | 56 |
1 files changed, 26 insertions, 30 deletions
diff --git a/squid-basic-html.lsp b/squid-basic-html.lsp index 4768f28..f3a6c1d 100644 --- a/squid-basic-html.lsp +++ b/squid-basic-html.lsp @@ -24,48 +24,44 @@ Squid is a web proxy server. It makes web requests in behalf of the client, and inspecting the returned and optionally caches that content so that the next time a client request is made, the content can be served from local disk. This can make web surfing faster. Squid can also forward its requests on to a content filter, -such as DansGuardian.<br><br> -This page determines the general operational settings for squid.</p> +such as DansGuardian.</p> +<p>This page determines the general operational settings for squid.</p> <h2>Status</h2> + <form action="" method="POST"> -<p> -<dt>squid is: <? io.write( service.status ) ?> </dt> -<dd><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?> style="width:100px"> +<dt>Program version</dt><DD>?</DD> +<dt>Process status</dt><DD><? io.write( service.status ) ?></DD> +<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> +<DT>Daemon control</DT><dd><input class="submit" type="submit" name="srvcmd" value="start" <? io.write( srv1fill ) ?> style="width:100px"> <input class="submit" type="submit" name="srvcmd" value="stop" <? io.write( srv2fill ) ?> style="width:100px"> <input class="submit" type="submit" name="srvcmd" value="restart" <? io.write( srv2fill ) ?> style="width:100px"></dd> -</p> <p class="error"><? io.write( service.message ) ?></p> </form> - -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> - -<form action="" method="POST"> <h2>Configuration</h2> -<? io.write("<pre style=\"color: #ff2020;\">" .. service.error .. "</pre><br>\n" ) ?> +<form action="" method="POST"> +<DT>Config status</DT><DD class="error"><? io.write(service.error ) ?></DD> + <h3>Primary Listener service</h3> -These parameters define the interface and port that the web proxy uses to accept connections.<br><br> +<p>These parameters define the interface and port that the web proxy uses to accept connections.</p> -<table> <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> -</table><br> <h3>Filter Service</h3> -These parameters define the ip address and port that the web proxy forwards requests to. +<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.<br><br> - -Filtering is a cpu-intensive process. The FilterRegex is a list of regular expressions that qualify +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.<br><br> +It is safe to leave this at the default settings.</p> <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 ) ?>" style="width:400px;"></dd> +<dt>FilterRegex</dt><dd><input class="text" type="text" name="filterregex" value="<? io.write( config.filterregex.value ) ?>"></dd> <h3>Access Logs</h3> <p>This determines if the visited sites are logged or not.</p> @@ -74,23 +70,23 @@ It is safe to leave this at the default settings.<br><br> <input type="radio" name="accesslog" value="yes"<? ifthen( config.accesslog.value, "yes", " checked" ); ?>> Use access log</dd> <h3>Disk Cache Parameters</h3> -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.<br><br> +<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> <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> <h3>Allowed Ports</h3> -Web servers typically run on port 80; SSL (https) servers typically run on port 443. Some web +<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.<br><br> +"safe" for the web proxy to handle.</p> -It is safe to leave these values at their default values.<br><br> +<p>It is safe to leave these values at their default values.</p> <dt>Safe_ports</dt><dd><input class="text" type="text" name="safeports" value="<? io.write( config.safeports.value ) ?>" style="width:400px;"></dd> <dt>SSL_ports</dt><dd><input class="text" type="text" name="sslports" value="<? io.write( config.sslports.value ) ?>" style="width:400px;"></dd> -<input class="submit" type="submit" name="cmd" value="save"><br> -</form><br> - +<H3>Save changes</h3> +<DT>Save above changes</DT><DD><input class="submit" type="submit" name="cmd" value="save"></DD> +</form> |