'\" t .\" Title: tidy-proxy .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 2021-01-08 .\" Manual: tidy-proxy manual .\" Source: tidy-proxy 0.97-4.1 .\" Language: English .\" .TH "TIDY\-PROXY" "1" "2021\-01\-08" "tidy\-proxy 0\&.97\-4\&.1" "tidy\-proxy manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" tidy-proxy \- small http proxy which tidies html .SH "SYNOPSIS" .HP \w'\fBtidy\-proxy\fR\ 'u \fBtidy\-proxy\fR [\fB\ \-\-host\fR\ hostname] [\fB\ \-p\fR\ port] [\fB\ \-d\fR] [\fB\ \-l\fR\ {1|2}] [\fB\ \-\-action\fR\ {t|v}] [\fB\ \-\-tidy\-cmd\fR\ tidy\-command] [\fB\ \-\-validate\-cmd\fR\ validate\-command] [\fB\ \-\-pid\fR\ pid\-file] .SH "DESCRIPTION" .PP 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\&. .SH "OPTIONS" .PP \fB\-\-host\fR *host* .RS 4 the host parameter sets the listening address for tidy\-proxy\&. [default: localhost] .RE .PP \fB\-p, \-\-port\fR *port* .RS 4 port sets the listening port for tidy\-proxy\&. [default: 9090] .RE .PP \fB\-d, \-\-nodaemon\fR .RS 4 run tidy\-proxy in foreground .RE .PP \fB\-l, \-\-level\fR *level* .RS 4 level sets the filtering level for tidy\-proxy 1: Warnings 2: Errors .RE .PP \fB\-\-action\fR *t|v* .RS 4 set if to use *t*idy or *v*alidate\&. [default: tidy] .RE .PP \fB\-\-tidy\-cmd\fR *cmd* .RS 4 Command to use for tidy\&. [default: /usr/bin/tidy] .RE .PP \fB\-\-validate\-cmd\fR *cmd* .RS 4 Command to use for validate\&. [default: /usr/bin/validate] .RE .PP \fB\-\-pid\fR *pid\-file* .RS 4 Create a pid file\&. Works only in daemon mode\&. .RE .PP \fB\-\-dest\-host\fR *destination host* .RS 4 run tidy\-proxy in reverse\-proxy mode\&. tidy\-proxy acts as normal webserver and forwards every request to *destination host*\&. .RE .PP \fB\-\-loc\-rewrite\fR .RS 4 rewrite the Location and the Host header in reverse\-proxy mode\&. .RE .PP \fB\-h, \-?, \-\-help\fR .RS 4 Prints help message\&. .RE .SH "SEE ALSO" \fBtidy\fR(1), \fBvalidate\fR(1) .SH "AUTHOR" .sp This manual page was written by Jonas Meurer for the Debian distribution of tidy\-proxy\&. .SH "COPYRIGHT" .sp Copyright (C) 2003\-2008: Jonas Meurer 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\&.