New upstream release (3.0.0)
[manu/mod-proxy-html.git] / proxy_html.conf
1 # Configuration example.
2 #
3 # First, to load the module with its prerequisites
4 #
5 # For Unix-family systems:
6 # LoadFile      /usr/lib/libxml2.so
7 # LoadModule    proxy_html_module       modules/mod_proxy_html.so
8 #
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
14
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>.
19 #
20 # Here's the declaration for W3C HTML 4.01 and XHTML 1.0
21
22 ProxyHTMLLinks  a               href
23 ProxyHTMLLinks  area            href
24 ProxyHTMLLinks  link            href
25 ProxyHTMLLinks  img             src longdesc usemap
26 ProxyHTMLLinks  object          classid codebase data usemap
27 ProxyHTMLLinks  q               cite
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
36
37 # To support scripting events (with ProxyHTMLExtended On),
38 # you'll need to declare them too.
39
40 ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \
41                 onmouseover onmousemove onmouseout onkeypress \
42                 onkeydown onkeyup onfocus onblur onload \
43                 onunload onsubmit onreset onselect onchange
44
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
48 #
49 # ProxyHTMLLinks        frame           src longdesc
50 # ProxyHTMLLinks        iframe          src longdesc
51 # ProxyHTMLLinks        body            background
52 # ProxyHTMLLinks        applet          codebase
53 #
54 # If you're dealing with proprietary HTML variants,
55 # declare your own URL attributes here as required.
56 #
57 # ProxyHTMLLinks        myelement       myattr otherattr
58 #
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/