This file is indexed.

/usr/share/doc/libapache2-mod-proxy-html/faq.html is in libapache2-mod-proxy-html 3.0.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en"><head>
<title>mod_proxy_html</title>
<style type="text/css">
@import url(/index.css) ;
</style>
</head><body>
<div id="apache">
<h1>mod_proxy_html: Frequently Asked Questions</h1>
<p>This answers some of the most frequently asked questions
that aren't dealt with (or that people overlook) in the documentation
and the apachetutor tutorial.  <span class="v3">This was written for
Version 2, and most of the questions are moot in Version 3.</span></p>
<h2>Questions</h2>
<ol>
<li><a href="#charset">Can mod_proxy_html support (charset XYZ) as input?</a></li>
<li><a href="#iconv">Can mod_proxy_html support (charset XYZ) as output?</a></li>
<li><a href="#script">Why does mod_proxy_html mangle my Javascript?</a></li>
<li><a href="#attr">Why doesn't mod_proxy_html rewrite urls in [some attribute]?</a></li>
</ol>
<h2>Answers</h2>
<dl>
<dt id="charset">Can mod_proxy_html support (charset XYZ) as input?</dt>
<dd><p>That depends entirely on libxml2.  mod_proxy_html supports
charset detection, but does not itself support any charsets.
It works by passing the charset detected to libxml2 when it sets
up the parser.</p>
<p>This means that mod_proxy_html inherits its charset support
from libxml2, and will always support <em>exactly</em> the same
charsets available in the version of libxml2 you have installed.
So bug the libxml2 folks, not us!</p>
<p class="v3">In Version 3, charset support is much expanded provided
<code>ProxyHTMLMeta</code> is enabled, and any charset can be supported
by aliasing it with <code>ProxyHTMLCharsetAlias</code>.</p>
</dd>
<dt id="iconv">Can mod_proxy_html support (charset XYZ) as output?</dt>
<dd><p>libxml2 uses <code>utf-8</code> internally for everything.
Generating output with another charset is therefore an additional
overhead, and the decision was taken to exclude any such capability
from mod_proxy_html.  There is an easy workaround: you can transcode
the output using another filter, such as mod_charset_lite.</p>
<p class="v3">Version 3 supports output transformation to other
charsets using <code>ProxyHTMLCharsetOut</code>.</p>
</dd>
<dt id="script">Why does mod_proxy_html mangle my Javascript?</dt>
<dd><p>It doesn't.  Your javascript is simply too badly malformed,
and libxml2's error correction isn't what you expect!
Check it with <a href="http://valet.webthing.com/page/">a validator</a>,
or with libxml2's <tt>xmllint --html</tt>
(which uses the same parser as mod_proxy_html).  Here is
<a href="/mod_publisher/parser.html">a fuller explanation</a>.</p>
<p>The best fix for this is to remove the javascript from your markup,
and import it from a separate <tt>.js</tt> file.  If you have an
irredeemably broken publishing system, you may have to upgrade to
<a href="/mod_publisher/">mod_publisher</a> or resort to the
non-markup-aware <a href="/mod_line_edit/">mod_line_edit</a>.</p>
</dd>
<dt id="attr">Why doesn't mod_proxy_html rewrite urls in [some attribute]?</dt>
<dd><p>mod_proxy_html is based on W3C HTML 4.01 and XHTML 1.0 (which are
identical in terms of elements and attributes).  It supports all links
defined in W3C HTML, even those that have been deprecated since 1997.
But it does <strong>NOT</strong> support proprietary pseudo-HTML "extensions"
that have never been part of <strong>any</strong> published HTML standard.
Of course, it's trivial to add them to the source.</p>
<p>This has been the most commonly requested feature since mod_proxy_html 2.0
was released in 2004.  It cannot reasonably be satisfied, because everyone's
pet "extensions" are different.  <span class="v3">Version 3 deals with this
by taking all HTML knowledge out of the code and loading it from httpd.conf
instead, so admins can meet their own needs without recompiling.</span></p>
</dd>
</dl>
</div>
</body></html>