On 27/07/2021 13:08, Berneburg, Cris J. - US wrote:
Carsten and Mark
Thanks for the info. :-)
crisb> Weird, when going thru IIS to TC, it's not compressed
c.klein> IIS fetches the requested resource from TC, acting as an HTTP client
(or are you using AJP with IIS?).
markt> IIS will be using AJP to talk to Tomcat which doesn't support
compression. You may be able to get IIS to compress the files.
Is it possible to connect IIS to TC using HTTP instead of AJP? Several "Tomcat IIS
How-To" articles all mention using AJP (not HTTP) using an ISAPI redirector.
In theory, yes. You'd need to find an HTTP reverse proxy component for IIS.
This looks like the sort of thing you'd need:
https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/reverse-proxy-with-url-rewrite-v2-and-application-request-routing
The downside is that you will need to manually configure a lot of the
stuff AJP does "for free". Correctly configuring a reverse proxy is one
of those tasks where all sorts of things can catch you out.
I'd probably look at getting IIS to compress the content instead:
https://docs.microsoft.com/en-us/iis/extensions/iis-compression/iis-compression-overview
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org