github.com/drud/ddev@v1.21.5-alpha1.0.20230226034409-94fcc4b94453/containers/ddev-webserver/ddev-webserver-base-files/etc/apache2/mods-available/proxy_html.conf (about) 1 # Configuration example. 2 # 3 # For detailed information about these directives see 4 # <URL:http://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html> 5 # and for mod_xml2enc see 6 # <URL:http://httpd.apache.org/docs/2.4/mod/mod_xml2enc.html> 7 # 8 9 # All knowledge of HTML links has been removed from the mod_proxy_html 10 # code itself, and is instead read from httpd.conf (or included file) 11 # at server startup. So you MUST declare it. This will normally be 12 # at top level, but can also be used in a <Location>. 13 # 14 # Here's the declaration for W3C HTML 4.01 and XHTML 1.0 15 16 ProxyHTMLLinks a href 17 ProxyHTMLLinks area href 18 ProxyHTMLLinks link href 19 ProxyHTMLLinks img src longdesc usemap 20 ProxyHTMLLinks object classid codebase data usemap 21 ProxyHTMLLinks q cite 22 ProxyHTMLLinks blockquote cite 23 ProxyHTMLLinks ins cite 24 ProxyHTMLLinks del cite 25 ProxyHTMLLinks form action 26 ProxyHTMLLinks input src usemap 27 ProxyHTMLLinks head profile 28 ProxyHTMLLinks base href 29 ProxyHTMLLinks script src for 30 31 # To support scripting events (with ProxyHTMLExtended On), 32 # you'll need to declare them too. 33 34 ProxyHTMLEvents onclick ondblclick onmousedown onmouseup \ 35 onmouseover onmousemove onmouseout onkeypress \ 36 onkeydown onkeyup onfocus onblur onload \ 37 onunload onsubmit onreset onselect onchange 38 39 # If you need to support legacy (pre-1998, aka "transitional") HTML or XHTML, 40 # you'll need to uncomment the following deprecated link attributes. 41 # Note that these are enabled in earlier mod_proxy_html versions 42 # 43 # ProxyHTMLLinks frame src longdesc 44 # ProxyHTMLLinks iframe src longdesc 45 # ProxyHTMLLinks body background 46 # ProxyHTMLLinks applet codebase 47 # 48 # If you're dealing with proprietary HTML variants, 49 # declare your own URL attributes here as required. 50 # 51 # ProxyHTMLLinks myelement myattr otherattr 52 # 53 ########### 54 # EXAMPLE # 55 ########### 56 # 57 # To define the URL /my-gateway/ as a gateway to an appserver with address 58 # http://some.app.intranet/ on a private network, after loading the 59 # modules and including this configuration file: 60 # 61 # ProxyRequests Off <-- this is an important security setting 62 # ProxyPass /my-gateway/ http://some.app.intranet/ 63 # <Location /my-gateway/> 64 # ProxyPassReverse / 65 # ProxyHTMLEnable On 66 # ProxyHTMLURLMap http://some.app.intranet/ /my-gateway/ 67 # ProxyHTMLURLMap / /my-gateway/ 68 # </Location> 69 # 70 # Many (though not all) real-life setups are more complex. 71 # 72 # See the documentation at 73 # http://apache.webthing.com/mod_proxy_html/ 74 # and the tutorial at 75 # http://www.apachetutor.org/admin/reverseproxies