1 # Configuration example.
3 # First, to load the module with its prerequisites
5 # For Unix-family systems:
6 # LoadFile /usr/lib/libxml2.so
7 # LoadModule proxy_html_module modules/mod_proxy_html.so
9 # For Windows (I don't know if there's a standard path for the libraries)
10 # LoadFile C:/path/zlib.dll
11 # LoadFile C:/path/iconv.dll
12 # LoadFile C:/path/libxml2.dll
13 # LoadModule proxy_html_module modules/mod_proxy_html.so
15 # All knowledge of HTML links has been removed from the mod_proxy_html
16 # code itself, and is instead read from httpd.conf (or included file)
17 # at server startup. So you MUST declare it. This will normally be
18 # at top level, but can also be used in a <Location>.
20 # Here's the declaration for W3C HTML 4.01 and XHTML 1.0
23 ProxyHTMLLinks area href
24 ProxyHTMLLinks link href
25 ProxyHTMLLinks img src longdesc usemap
26 ProxyHTMLLinks object classid codebase data usemap
28 ProxyHTMLLinks blockquote cite
29 ProxyHTMLLinks ins cite
30 ProxyHTMLLinks del cite
31 ProxyHTMLLinks form action
32 ProxyHTMLLinks input src usemap
33 ProxyHTMLLinks head profile
34 ProxyHTMLLinks base href
35 ProxyHTMLLinks script src for
37 # To support scripting events (with ProxyHTMLExtended On),
38 # you'll need to declare them too.
40 ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
41 onmouseover onmousemove onmouseout onkeypress \
42 onkeydown onkeyup onfocus onblur onload \
43 onunload onsubmit onreset onselect onchange
45 # If you need to support legacy (pre-1998, aka "transitional") HTML or XHTML,
46 # you'll need to uncomment the following deprecated link attributes.
47 # Note that these are enabled in earlier mod_proxy_html versions
49 # ProxyHTMLLinks frame src longdesc
50 # ProxyHTMLLinks iframe src longdesc
51 # ProxyHTMLLinks body background
52 # ProxyHTMLLinks applet codebase
54 # If you're dealing with proprietary HTML variants,
55 # declare your own URL attributes here as required.
57 # ProxyHTMLLinks myelement myattr otherattr
59 # Also at top level in httpd.conf, you can declare charset aliases.
60 # This is the most efficient way to support encodings that libxml2
61 # doesn't natively support. See the documentation at
62 # http://apache.webthing.com/mod_proxy_html/