tidy-proxy

Langue: en

Autres versions - même langue

Version: 2009\-12\-04 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)

NAME

tidy-proxy - small http proxy which tidies html

SYNOPSIS

tidy-proxy [ --host hostname] [ -p port] [ -d] [ -l {1|2}] [ --action {t|v}] [ --tidy-cmd tidy-command] [ --validate-cmd validate-command] [ --pid pid-file]

DESCRIPTION

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.

SEE ALSO

tidy(1), validate(1)

AUTHOR

This manual page was written by Jonas Meurer jonas@freesources.org for the Debian distribution of tidy-proxy.

Copyright (C) 2003-2008: Jonas Meurer jonas@freesources.org 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.