![]() |
[Resolved] Content Encoding Error on .html but not .htm (same file, renamed)
I have a customer who just has a very simple index.html in their public_html which is failing with this:
http://www.screen-shot.net/2010-06-06_1523.png If I change the file name to .htm (from .html) it loads perfectly fine. If I leave it as .html and I go into the LiteSpeed Admin control panel and disable GZIP compression it loads fine. I've never seen this issue before but admittedly not very many of our customers use .html files as most use .php. I verified the issue with Enterprise v 4.0.13 and 4.0.14. I did remove the .htaccess in the folder to make sure it wasn't causing an issue. I also made sure that GZIP Compression was disabled in their "Optimize Website" portion of their cPanel. |
Any ideas? I really need to get this resolved.
|
Can you check the response header with firebug, I need to know what exact header causes the problem.
Have you tried different browser? How about rename the file to "index2.html"? Try that file under a different domain? I think it should be some thing special for that domain. |
Quote:
If you want to open a ticket with me in your support system I'm more than happy to give details and server access but I will check myself as well. |
Here's the headers for index.htm (which works fine)
Code:
Response Headersview sourceCode:
Response Headersview source |
When access the file with
Quote:
Something is wrong, can you enable debug logging and check the debug log? Or strace the child lshttpd process to find out what happened? Please file a bug report to bug@litespeedtech... if you believe it is a bug. |
Quote:
Just keep in mind it is a production server so please do your best to avoid making any changes that could cause downtime. Just respond to my PM and tell me what details you need. |
I sent over the server details to bug@litespeedtech...
|
The problem is the gzip cache for that file is blank, maybe the timestamp on the file is older than the gzip cache, so the cache was not updated. After touching the file, the gzip cache updated and page served properly.
|
Very interesting - is there a particular reason this happened and a setting to perhaps change to prevent it from happening again or is it just a one-off type of issue.
Touching a file is easy and is a quick resolution so it's not a major deal as long as it doesn't happen often (which this is the first in over 8 months). |
| All times are GMT -7. The time now is 09:49 AM. |