Greetings Apache Users,

I'm using apache (2.4.65) to reverse proxy an application being served
locally out of port 8096. All has been great for the past 2 or 3 years.

Things were going well until a recent major upgrade to the application.

After the upgrade, icons (SVG?) that used to render like:

hamburger menu
magnifying glass
etc.

now render as:

number 1 with a circumflex on top
number 1 with a circumflex on top, cents sign, and a pilcrow (backwards
paragraph symbol)
etc.

I can't tell from the devtools what HTML is being used for the icons -
maybe a JS library is manipulating the DOM? Not sure.

When I browse to the upgraded application without the reverse proxy
(apache), the icons appear as expected. Thus, I'm guessing the issue is
perhaps some new HTTP header encoding code - but I'm out of my depth with
respect to apache's reverse proxy configuration knobs and what to look for
regarding any sort of encoding directives.

Here is what my current apache config looks like:

```
AllowEncodedSlashes NoDecode
RewriteRule         ^/app$ /app/ [R]

ProxyRequests Off
ProxyPass /app/ http://127.0.0.1:8096/
<Location /app/>
    ProxyPassReverse /
    RequestHeader Unset Accept-Encoding
    ProxyHTMLEnable On
    ProxyHTMLURLMap http://127.0.0.1:8096/ /app/
    ProxyHTMLURLMap / /app/
</Location>
```

I've tried removing the "RequestHeader Unset Accept-Encoding" above, but I
believe that is more for compression between client and server.

Any thoughts about how to debug and/or fix this?

Thank you!

-m

Reply via email to