Small http proxy which tidies html
tidy-proxy [ --host hostname] [ -p port] [ -d] [ -l {1|2}] [ --action {t|v}] [ --tidy-cmd tidy-command] [ --validate-cmd validate-command] [ --pid pid-file]
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.
--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.
This manual page was written by Jonas Meurer [email protected] for the Debian distribution of tidy-proxy.
Copyright (C) 2003-2008: Jonas Meurer [email protected] This manual page is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.