<IfDefine HAVE_PROXY_HTML> <IfModule !mod_proxy_html.c> LoadModule proxy_html_module extramodules/mod_proxy_html.so </IfModule> </IfDefine> <IfModule mod_proxy_html.c> # ProxyHTMLURLMap # Syntax: ProxyHTMLURLMap from-pattern to-pattern flags # ProxyHTMLDoctype # Syntax: ProxyHTMLDoctype HTML|XHTML [Legacy] # Alternative Syntax: ProxyHTMLDocType fpi [SGML|XML] # ProxyHTMLFixups # Syntax: ProxyHTMLFixups [lowercase] [dospath] [reset] # ProxyHTMLMeta # Syntax ProxyHTMLMeta [On|Off] # ProxyHTMLExtended # Syntax ProxyHTMLExtended [On|Off] # ProxyHTMLStripComments # Syntax ProxyHTMLStripComments [On|Off] # ProxyHTMLLogVerbose # Syntax ProxyHTMLLogVerbose [On|Off] # ProxyHTMLBufSize # Syntax ProxyHTMLBufSize nnnn 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 # If you need to support legacy (pre-1998, aka "transitional") HTML or XHTML, # you'll need to uncomment the following deprecated link attributes. # Note that these are enabled in earlier mod_proxy_html versions # # ProxyHTMLLinks frame src longdesc # ProxyHTMLLinks iframe src longdesc # ProxyHTMLLinks body background # ProxyHTMLLinks applet codebase # # If you're dealing with proprietary HTML variants, # declare your own URL attributes here as required. # # ProxyHTMLLinks myelement myattr otherattr # # Also at top level in httpd.conf, you can declare charset aliases. # This is the most efficient way to support encodings that libxml2 # doesn't natively support. See the documentation at # http://apache.webthing.com/mod_proxy_html/ # Working example. http://localhost/qa/ will load the Mandriva bugzilla site ProxyPass /qa/ https://qa.mandriva.com/ ProxyPassReverse /qa/ https://qa.mandriva.com/ ProxyTimeout 10 SSLProxyEngine On <Location /qa> Options Indexes MultiViews Order Deny,Allow Deny from All Allow from 127.0.0.1 ErrorDocument 403 "Access denied per /etc/httpd/modules.d/A28_mod_proxy_html.conf" ProxyPassReverse / SetOutputFilter proxy-html ProxyHTMLURLMap https://qa.mandriva.com /qa RequestHeader unset Accept-Encoding </Location> </IfModule>