tidy-proxy1
Small http proxy which tidies html
Usage
tidy-proxy [--host
hostname]
[-p
port]
[-d]
[-l
{1 | 2}]
[--action
{t | v}]
[--tidy-cmd
tidy-command]
[--validate-cmd
validate-command]
[--pid
pid-file]
Overview
tidy-proxy is a small proxy server written in perl. using this proxy web-pages are checked for HTML errors with tidy or validate while they are downloaded. The results are displayed on top of that page. tidy-proxy is mainly intended for developing dynamic web-pages.
Options
-
--host *host* -
the host parameter sets the listening address for tidy-proxy. [default: localhost]
-
-p, --port *port* -
port sets the listening port for tidy-proxy. [default: 9090]
-
-d, --nodaemon -
run tidy-proxy in foreground
-
-l, --level *level* -
level sets the filtering level for tidy-proxy 1: Warnings 2: Errors
-
--action *t|v* -
set if to use *t*idy or *v*alidate. [default: tidy]
-
--tidy-cmd *cmd* -
Command to use for tidy. [default: /usr/bin/tidy]
-
--validate-cmd *cmd* -
Command to use for validate. [default: /usr/bin/validate]
-
--pid *pid-file* -
Create a pid file. Works only in daemon mode.
--dest-host *destination host*
run tidy-proxy in reverse-proxy mode. tidy-proxy acts as normal webserver and forwards every request to *destination host*.
-
--loc-rewrite -
rewrite the Location and the Host header in reverse-proxy mode.
-
-h, -?, --help -
Prints help message.
History
- Debian 11 (Bullseye): the text shown here
- Debian 10 (Buster) to Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny) to Debian 4.0 (Etch)
- Debian 3.1 (Sarge)
--action since Debian 4.0 (Etch);
--help since Debian 4.0 (Etch);
--host since Debian 4.0 (Etch);
--level since Debian 4.0 (Etch);
--loc-rewrite since Debian 4.0 (Etch);
--nodaemon since Debian 4.0 (Etch);
--pid since Debian 4.0 (Etch);
--port since Debian 4.0 (Etch);
--tidy-cmd since Debian 4.0 (Etch);
--validate-cmd since Debian 4.0 (Etch);
-? since Debian 4.0 (Etch);
-d since Debian 4.0 (Etch);
-h since Debian 4.0 (Etch);
-l since Debian 4.0 (Etch);
-p since Debian 4.0 (Etch).