From Null-pointer
LoadFile /export/home/pkace/libxml2/lib/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html-3.so
LoadModule line_edit_module modules/mod_line_edit.so
# mod_rewrite
RewriteEngine On
#RewriteLog logs/rewrite_log
#RewriteLogLevel 9
RewriteRule ^/http://([^/]+)/(.*) http://$1/$2 [P,E=PROXYHOST:$1]
# mod_filter
FilterProvider fix-urls proxy-html Content-Type $text/html
FilterProvider fix-urls line-editor Content-Type $javascript
FilterProvider fix-urls line-editor Content-Type $text/css
# mod_proxy
ProxyRequests Off
ProxyPassReverse /http://moon.london.edu/ http://moon.london.edu/
ProxyPassReverse /http://medialibrary.london.edu/ http://medialibrary.london.edu/
ProxyPassReverseCookiePath /jiveforums /http://jiri.london.edu:8080/jiveforums
ProxyPassReverseCookiePath /coursesonline /http://stargazer.london.edu:6060/coursesonline/
ProxyPassReverseCookiePath /vle /http://stargazer.london.edu:6060/vle
ProxyPassReverseCookiePath /rb /http://stargazer.london.edu:6060/rb
<LocationMatch /http://.*\.london\.edu.*/>
# ProxyPassReverse /
# mod_filter
FilterChain fix-urls
# mod_proxy_html
ProxyHTMLURLMap / https://devportal.london.edu/http://${PROXYHOST}/ Vce
ProxyHTMLInterp On
#ProxyHTMLCharsetOut ISO-8859-1
# mod_headers
RequestHeader unset Accept-Encoding
# mod_proxy_html
# to rewrite links in embedded scripts
#ProxyHTMLURLMap \'http:// \'https://devportal.london.edu/ h
ProxyHTMLInterp On
</LocationMatch>
<LocationMatch /http://.*/xhtml/>
# ProxyHTMLDocType XHTML
ProxyHTMLDocType "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\"\
\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">"
</LocationMatch>
# All knowledge of HTML links has been removed from the mod_proxy_html
# code itself, and is instead read from httpd.conf (or included file)
# at server startup. So you MUST declare it. This will normally be
# at top level, but can also be used in a <Location>.
#
# Here's the declaration for W3C HTML 4.01 and 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
ProxyHTMLLinks div style
# 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/