From f4ee857a8fd4ab1525c0edf68c72c46fd448e9ad Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Thu, 10 Nov 2016 20:17:21 +0100 Subject: [PATCH] More modules for RevProxy setups - mod_proxy_html + .conf - mod_xml2enc - mod_sed - mod_substitute --- mods-available/proxy_html.conf | 31 +++++++++++++++++++++++++++++++ mods-available/proxy_html.load | 2 ++ mods-available/sed.load | 1 + mods-available/substitute.load | 1 + mods-available/xml2enc.load | 1 + 5 files changed, 36 insertions(+) create mode 100644 mods-available/proxy_html.conf create mode 100644 mods-available/proxy_html.load create mode 100644 mods-available/sed.load create mode 100644 mods-available/substitute.load create mode 100644 mods-available/xml2enc.load diff --git a/mods-available/proxy_html.conf b/mods-available/proxy_html.conf new file mode 100644 index 0000000..470ec9e --- /dev/null +++ b/mods-available/proxy_html.conf @@ -0,0 +1,31 @@ +# W3C HTML 4.01 / XHTML 1.0 + +ProxyHTMLLinks a href +ProxyHTMLLinks area href +ProxyHTMLLinks link href +ProxyHTMLLinks img src longdesc usemap +ProxyHTMLLinks object classid codebase data usemap +ProxyHTMLLinks q cite +ProxyHTMLLinks blockquote cite +ProxyHTMLLinks ins cite +ProxyHTMLLinks del cite +ProxyHTMLLinks form action +ProxyHTMLLinks input src usemap +ProxyHTMLLinks head profile +ProxyHTMLLinks base href +ProxyHTMLLinks script src for + +# To support scripting events (with ProxyHTMLExtended On), +# you'll need to declare them too. + +ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \ + onmouseover onmousemove onmouseout onkeypress \ + onkeydown onkeyup onfocus onblur onload \ + onunload onsubmit onreset onselect onchange + +# "transitional" HTML or XHTML +#ProxyHTMLLinks frame src longdesc +#ProxyHTMLLinks iframe src longdesc +#ProxyHTMLLinks body background +#ProxyHTMLLinks applet codebase + diff --git a/mods-available/proxy_html.load b/mods-available/proxy_html.load new file mode 100644 index 0000000..40ca3b4 --- /dev/null +++ b/mods-available/proxy_html.load @@ -0,0 +1,2 @@ +# Depends: proxy xml2enc .conf +LoadModule proxy_html_module modules/mod_proxy_html.so diff --git a/mods-available/sed.load b/mods-available/sed.load new file mode 100644 index 0000000..6cf1ef8 --- /dev/null +++ b/mods-available/sed.load @@ -0,0 +1 @@ +LoadModule sed_module modules/mod_sed.so diff --git a/mods-available/substitute.load b/mods-available/substitute.load new file mode 100644 index 0000000..7cb1eb4 --- /dev/null +++ b/mods-available/substitute.load @@ -0,0 +1 @@ +LoadModule substitute_module modules/mod_substitute.so diff --git a/mods-available/xml2enc.load b/mods-available/xml2enc.load new file mode 100644 index 0000000..9dfd917 --- /dev/null +++ b/mods-available/xml2enc.load @@ -0,0 +1 @@ +LoadModule xml2enc_module modules/mod_xml2enc.so