File: tidy-proxy.xml

package info (click to toggle)
tidy-proxy 0.97-4.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 100 kB
  • sloc: perl: 385; xml: 201; sh: 64; makefile: 42
file content (202 lines) | stat: -rw-r--r-- 5,748 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "/usr/share/xml/docbook/schema/dtd/4.2/docbookx.dtd">

<refentry id="command.tidy-proxy">

 <xi:include href="variables.xml"
             xpointer="xpointer(/refentry/refentryinfo)"
             xmlns:xi="http://www.w3.org/2001/XInclude"/>

 <refmeta>
  <refentrytitle>tidy-proxy</refentrytitle>
  <manvolnum>1</manvolnum>
  <xi:include href="variables.xml"
              xpointer="xpointer(/refentry/refmeta/*)"
              xmlns:xi="http://www.w3.org/2001/XInclude"/>
 </refmeta>

 <refnamediv>
  <refname>tidy-proxy</refname>
  <refpurpose>small http proxy which tidies html</refpurpose>
 </refnamediv>

 <refsynopsisdiv>
  <cmdsynopsis sepchar=" ">
   <command moreinfo="NONE">tidy-proxy</command>
   <arg choice="OPT" rep="NOREPEAT">
    <option> --host</option> hostname
   </arg>
   <arg choice="OPT" rep="NOREPEAT">
    <option> -p</option> port
   </arg>
   <arg choice="OPT" rep="NOREPEAT">
    <option> -d</option>
   </arg>
   <arg choice="OPT" rep="NOREPEAT">
    <option> -l</option> {1|2}
   </arg>
   <arg choice="OPT" rep="NOREPEAT">
    <option> --action</option> {t|v}
   </arg>
   <arg choice="OPT" rep="NOREPEAT">
    <option> --tidy-cmd</option> tidy-command
   </arg>
   <arg choice="OPT" rep="NOREPEAT">
    <option> --validate-cmd</option> validate-command
   </arg>
   <arg choice="OPT" rep="NOREPEAT">
    <option> --pid</option> pid-file
   </arg>
  </cmdsynopsis>
 </refsynopsisdiv>
 <refsect1 id="tidy-proxy.description">
  <title>DESCRIPTION</title>
  <para>
   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.
  </para>
 </refsect1>
 <refsect1 id="tidy-proxy.options">
 <title>OPTIONS</title>
 <variablelist>
  <varlistentry>
   <term>
    <option>--host</option> *host*
   </term>
   <listitem>
    <para>the host parameter sets the listening address for tidy-proxy. [default: localhost]</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>-p, --port</option> *port*
   </term>
   <listitem>
    <para>port sets the listening port for tidy-proxy. [default: 9090]</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>-d, --nodaemon</option>
   </term>
   <listitem>
    <para>run tidy-proxy in foreground</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>-l, --level</option> *level*
   </term>
   <listitem>
    <para>level sets the filtering level for tidy-proxy 1: Warnings 2: Errors</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>--action</option> *t|v*
   </term>
   <listitem>
    <para>set if to use *t*idy or *v*alidate. [default: tidy]</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>--tidy-cmd</option> *cmd*
   </term>
   <listitem>
    <para>Command to use for tidy. [default: /usr/bin/tidy]</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>--validate-cmd</option> *cmd*
   </term>
   <listitem>
    <para>Command to use for validate. [default: /usr/bin/validate]</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>--pid</option> *pid-file*
   </term>
   <listitem>
    <para>Create a pid file. Works only in daemon mode.</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>--dest-host</option> *destination host*
   </term>
   <listitem>
    <para>run tidy-proxy in reverse-proxy mode. tidy-proxy acts as normal webserver and forwards every request to *destination host*.</para>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <option>--loc-rewrite</option>
   </term>
   <listitem>
    <simpara>
     rewrite the Location and the Host header in reverse-proxy mode.
    </simpara>
   </listitem>
   </varlistentry>
   <varlistentry>
    <term>
     <option>-h, -?, --help</option>
    </term>
    <listitem>
     <simpara>
      Prints help message.
     </simpara>
    </listitem>
   </varlistentry>
  </variablelist>
 </refsect1>
 <refsect1 id="tidy-proxy.see_also">
  <title>SEE ALSO</title>
  <simplelist type="inline">
   <member><command moreinfo="refentry">tidy</command>(1)</member>
   <member><command moreinfo="refentry">validate</command>(1)</member>
  </simplelist>
 </refsect1>
 <refsect1 id="tidy-proxy.author">
  <title>AUTHOR</title>
  <simpara>
   This manual page was written by
   <author>
    <firstname>Jonas</firstname>
    <surname>Meurer</surname>
   </author>
   <email>jonas@freesources.org</email>
   for the Debian distribution of tidy-proxy.
  </simpara>
 </refsect1>
 <refsect1 id="tidy-proxy.copyright">
  <title>COPYRIGHT</title>
  <simpara>
   Copyright (C) 2003-2008:
   <author>
    <firstname>Jonas</firstname>
    <surname>Meurer</surname>
   </author>
   <email>jonas@freesources.org</email>
   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.
  </simpara>
 </refsect1>
</refentry>