WebViewer Version: 7.3.0
IIS version 8.5.9600.16384
Windows Server Version : 6.2 (Build 9200)
I am trying to adhere to webviewer’s requirement of setting Content-Encoding to gzip and br to wasm files. I have added a rewrite rule shown here https://www.pdftron.com/documentation/web/faq/content-encoding/
But when I try to access a pdf in the viewer, I see a CONTENT_DECODING_FAILED error and some 404 errors. When I remove the rules, everything works OK, so my question is what am I doing wrong here?
Here is the CONTENT_DECODING_ERROR
Thanks in advance
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
Just to confirm, did you put the downloaded web.config file under /lib/core?
Yes, initially I tried putting this web.config file inside the lib\core directory but it resulted in the same error. If I delete the web.config file inside lib\core folder, the error goes away.
Can you please confirm that you have the IIS URL rewrite module installed?
Also, once you have placed the config file, it would be recommended to restart IIS just in case.