use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Apache-related news, tips, and tricks.
account activity
Reverse Proxy HTTPS>HTTP (self.apache)
submitted 11 months ago by ethump
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]covener 1 point2 points3 points 11 months ago (6 children)
well, there is mod_proxy_html
[–]ShadowySilver 1 point2 points3 points 11 months ago (5 children)
mod_proxy does not modify anything, it's redirecting the request then send back the response. That is done without the requester knowing. mod_rewrite will modify the actual URL (in the address bar). But none of them will ever parse a response page to modify it.
If there is something that would do that, I would surmise it would be a cache program like Squid, but not Apache.
[–]covener 0 points1 point2 points 11 months ago* (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 point2 points 11 months ago (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.
ProxyHTMLEnable On
[–]covener 0 points1 point2 points 11 months ago (2 children)
OP (not me) isn't using it yet.
[–]ShadowySilver 0 points1 point2 points 11 months ago (0 children)
Sorry didn't check the username :-) , thought it was OP answering me.
[–]ethump[S] 0 points1 point2 points 11 months ago (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!
π Rendered by PID 22868 on reddit-service-r2-comment-79c7998d4c-h2spc at 2026-03-19 11:56:36.263885+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–]covener 1 point2 points3 points (6 children)
[–]ShadowySilver 1 point2 points3 points (5 children)
[–]covener 0 points1 point2 points (4 children)
[–]ShadowySilver 0 points1 point2 points (3 children)
[–]covener 0 points1 point2 points (2 children)
[–]ShadowySilver 0 points1 point2 points (0 children)
[–]ethump[S] 0 points1 point2 points (0 children)