Problem with mod_proxy_html and AJAX service returns GZIP

Alles, was den Apache betrifft, kann hier besprochen werden.

Problem with mod_proxy_html and AJAX service returns GZIP

Postby jmar83 » 07. January 2018 04:25

Hi there

I use mod_proxy and mod_proxy_html to redirect internally from virtual host to external domain

Code: Select all
<VirtualHost *:80>
    ProxyRequests Off
    <Proxy *>
        Order deny,allow
        Allow from all
    ProxyPass /
    ProxyPassReverse /
    ProxyHTMLEnable On
    ProxyHTMLExtended On
    SetOutputFilter INFLATE;xml2enc;proxy-html;DEFLATE
    ProxyHTMLURLMap /
    <Location />
        Order allow,deny
        Allow from all
</VirtualHost> i have the problem that the apache mod_proxy(_html) engine seems to manipulate a GZIP-encoded JSON response (Content-Encoding: gzip) to HTML or something like that - why?

something like that does also not work:

ProxyHTMLURLMap /ajaxappfolder/

-> ProxyHTMLURLMap seems to ignore relative paths like /ajaxappfolder/ - it's not able to transform them to absolute format inside the HTML source code. right??

does somebody have a solution for that issue? thank you for your feedbacks.

with best regards,
Posts: 1
Joined: 07. January 2018 04:10
XAMPP version: Apache 2.4
Operating System: Debian 9

Return to Apache

Who is online

Users browsing this forum: No registered users and 4 guests