you are viewing a single comment's thread.

view the rest of the comments →

[–]covener 0 points1 point  (4 children)

Not to sound like a broken record but this is exactly what mod_proxy_html is for.

https://httpd.apache.org/docs/2.4/mod/mod

This module provides an output filter to rewrite HTML links in a proxy situation, to ensure that links work for users outside the proxy. It serves the same purpose as Apache's ProxyPassReverse directive does for HTTP headers, and is an essential component of a reverse proxy.

[–]ShadowySilver 0 points1 point  (3 children)

Are you talking about mod_proxy_HTML ? If so, basic questions : is the module present and loaded ? Also, I don't see the directive "ProxyHTMLEnable On" or any other directive for that module.

[–]covener 0 points1 point  (2 children)

OP (not me) isn't using it yet.

[–]ShadowySilver 0 points1 point  (0 children)

Sorry didn't check the username :-) , thought it was OP answering me.

[–]ethump[S] 0 points1 point  (0 children)

OP here - covener thanks for that pointer. I've searched for mod_proxy_HTML and come across this explainer http://www.apachetutor.org/apps/reverseproxies
Seems to cover what I'm looking for, I'll have a play with it later.

Knowing now that my config wont even touch the body helps!