PDA

View Full Version : GZIP compression


epopov
05-19-2004, 02:12 AM
The problem: when we try to set basic authorization (realms) in Tomcat 4.1.12 (which comes with LPS), Laszlo Server send swf to the browser (see lps.log), but Internet Explorer 6.0 doesn't display it.
1. Is this broblem, Laszlo Server related ? Maybe something wrong in GZIP file ? or this is not a GZIP, but LPS set Content Type as GZIP ?
2. Is it possible to switch off GZIP compression in Laszlo Server 2.1.1 ?

Thanks for your help!

bloch
05-19-2004, 08:10 AM
It is *very* unlikely that gzip is your problem;
best to check the server output with wget or the like.... or look in the tomcat or lps server logs.


But you can disable gzip compression, via some regexp settings in $LPS_HOME/WEB-INF/lps/config/lps.xml. Laszlo ships this file with gzip disabled for certain browsers that say thet support gzip but don't. You can add more regexps to match brwoser US strings as you desire.