File: ucspi-proxy-http-xlate.1.html

package info (click to toggle)
ucspi-proxy 0.99-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 372 kB
  • sloc: ansic: 1,917; makefile: 46
file content (68 lines) | stat: -rw-r--r-- 1,614 bytes parent folder | download | duplicates (4)
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
Content-type: text/html

<HTML><HEAD><TITLE>Manpage of ucspi-proxy-http-xlate</TITLE>
</HEAD><BODY>
<H1>ucspi-proxy-http-xlate</H1>
Section: User Commands  (1)<BR><A HREF="#index">Index</A>
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

ucspi-proxy-http-xlate - Translating HTTP proxy
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>

<B>ucspi-proxy-http-xlate</B>

[
<B>-v</B>

]
<I>search replace [ search replace [...]]</I>

<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>

<B>ucspi-proxy-http-xlate</B>

is a HTTP proxy for a UCSPI client/server pair that can translate
strings within HTTP content on the fly.
All occurrences of
<I>search</I>

are replaced with
<I>replace</I>.

If the HTTP response from the server contained a
<B>Content-Length</B>

header, it is replaced with the length of the translated content.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>

<A HREF="http://localhost/cgi-bin/man/man2html?1+ucspi-proxy">ucspi-proxy</A>(1)
<A NAME="lbAF">&nbsp;</A>
<H2>CAVEATS</H2>

All content is translated.
This could cause some odd side-effects if a search string is found in a
binary response, such as an image.
<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">SEE ALSO</A><DD>
<DT><A HREF="#lbAF">CAVEATS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 20:27:44 GMT, March 19, 2013
</BODY>
</HTML>