LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > MultiViews automatic precompressed gzipping

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-29-2010, 10:17 AM
Moofius Moofius is offline
New Member
 
Join Date: Mar 2010
Posts: 2
Default MultiViews automatic precompressed gzipping

I have a folder with two files: test.css and test.css.gz.

Browser requests test.css
Apache checks if browser can accept gzip compressed files
Yes:
Apache checks if a precompressed file exists:
Yes:
Apache serves the test.css.gz
No:
Apache gzips test.css
No:
Apache serves test.css ungzipped
I want to be able to do that in Litespeed.
I have tried to do this with RewriteRules and stuff, the problem is that litespeed gives the wrong headers, instead of Content-Type text/css Content-Encoding gzip it gives Content-Type gzip. This might be my fault, but I have no idea how to fix this.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:40 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.